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");
+5
View File
@@ -52,6 +52,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");
+5
View File
@@ -53,6 +53,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");
+5
View File
@@ -53,6 +53,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");
+5
View File
@@ -47,6 +47,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");
+5
View File
@@ -48,6 +48,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");
+5
View File
@@ -258,6 +258,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");
+5
View File
@@ -72,6 +72,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");
+5
View File
@@ -88,6 +88,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");
+5
View File
@@ -52,6 +52,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");
+5
View File
@@ -89,6 +89,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");
+5
View File
@@ -62,6 +62,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");
+5
View File
@@ -322,6 +322,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");
+5
View File
@@ -72,6 +72,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");
+5
View File
@@ -74,6 +74,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");
+5
View File
@@ -74,6 +74,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");
+5
View File
@@ -87,6 +87,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");
+5
View File
@@ -63,6 +63,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");
+5
View File
@@ -90,6 +90,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");
+5
View File
@@ -80,6 +80,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");
+5
View File
@@ -81,6 +81,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");
+5
View File
@@ -80,6 +80,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");
+5
View File
@@ -91,6 +91,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");
+5
View File
@@ -80,6 +80,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");
+5
View File
@@ -61,6 +61,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");
+5
View File
@@ -63,6 +63,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");