Open jeremymoran opened 3 years ago
For now, pyopencl unconcditionally provides access to the include files that come "in the box", whether they're used or not. I'm not sure how I feel about compilers complaining about extra include directories. I'm not sure I agree with silencing all compiler warnings just to avoid this one, however you could easily install a warning filter (via warnings.filterwarnings
in the standard library) in your code that filters this out.
Started getting this warning after moving to Ubuntu 20.04.
Using RX Vega 64 and the AMD gpupro drivers. My Kernel executes and runs fine, but having the warning pop up is frustrating. Is it possible to resolve this? Or suppress the warning completely. Setting
os.environ[ "PYOPENCL_COMPILER_OUTPUT" ] = "0"
still displays a warning.