Fix more missing NO_UNROLL configurations on CUDA

This commit is contained in:
Jens Steube
2019-06-07 12:23:51 +02:00
parent deb3843d76
commit 581839d402
26 changed files with 130 additions and 0 deletions
+5
View File
@@ -46,6 +46,11 @@ char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
{
char *jit_build_options = NULL;
if (device_param->is_cuda == true)
{
hc_asprintf (&jit_build_options, "-D NO_UNROLL");
}
if (device_param->opencl_device_vendor_id == VENDOR_ID_NV)
{
hc_asprintf (&jit_build_options, "-D NO_UNROLL");