[PATCH] D25845: [CUDA] Ignore implicit target attributes during function template instantiation.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 21 13:39:40 PDT 2016


jlebar added a comment.

> This patch changes the way we match target attributes of base template vs attributes used in explicit instantiation or specialization so that only explicitly specified attributes are considered.

Another question about this: When we have something inside of the force-host-device pragma, the HD attributes it gets are implicit.

This means that the only way to specialize something inside one of these pragmas is to use the pragma around the specialization?  That...seems weird?


https://reviews.llvm.org/D25845





More information about the cfe-commits mailing list