We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddd5980 commit 6ab7fa9Copy full SHA for 6ab7fa9
src/library/blas/generic/common.c
@@ -527,7 +527,9 @@ setupBuildOpts(
527
opts[0] = '\0';
528
529
#if !defined NDEBUG
530
- addBuildOpt(opts, BUILD_OPTS_MAXLEN, "-g");
+ // Nvidia runtime does not appear to support the -g flag, at least in their OpenCL v1.1 runtime
531
+ if( target.ident.vendor != VENDOR_NVIDIA )
532
+ addBuildOpt( opts, BUILD_OPTS_MAXLEN, "-g" );
533
#endif /* NDEBUG */
534
535
if (target.ident.vendor == VENDOR_NVIDIA &&
0 commit comments