Add CUDA device attributes to -I

This commit is contained in:
Jens Steube
2019-04-30 13:38:44 +02:00
parent c80e516c3c
commit e3500ff4aa
73 changed files with 1404 additions and 1280 deletions
+2 -2
View File
@@ -52,12 +52,12 @@ char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
{
char *jit_build_options = NULL;
if (device_param->device_vendor_id == VENDOR_ID_NV)
if (device_param->opencl_device_vendor_id == VENDOR_ID_NV)
{
hc_asprintf (&jit_build_options, "-D NO_UNROLL");
}
if ((device_param->device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false))
if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false))
{
hc_asprintf (&jit_build_options, "-D NO_UNROLL");
}