The following code:
__declspec(__device_builtin__) int v;
Resulted in this output:
min.cu(1): error: expected a type specifier
__declspec(__attribute__((device_builtin))) int v;
^
min.cu(1): internal error: assertion failed: invalid entity code for constraint configuration of attribute device_builtin (attribute.c, line 4066 in check_target_entity_match)
__declspec(__attribute__((device_builtin))) int v;
^
1 error and 1 catastrophic error detected in the compilation of "min.cu".
Compilation aborted.
Aborted (core dumped)
To reproduce: `nvcc -arch=sm_90 -c -o /dev/null min.cu`