Is there a way to configure OpenCLon12 via DirectX WARP as GPU device type?
I've been trying to get MESA to work with applications that need to see an OpenCL GPU device for some years now, but it always crashed Luxmark, see here: https://github.com/pal1000/mesa-dist-win/issues/88. It finally started working with MESA 23.0.0, but due to this issue posted by a user, WARP was changed to be exposed to the system as a CPU device instead of a GPU device, so I still can't use it.
(There is also apparently a bug in MESA 24.0.0 with how WARP is exposed to the system, as it appears as device type UNKNOWN. I'm not sure if this is a problem with openclon12.dll
or clon12compiler.dll
. This will make OpenCL via WARP on MESA not work with any applications, as it will not appear as either a CPU or a GPU device.)
jenatali implied that it could be selected with an environment variable, but I'm not sure if this was done or not, or what the environment variable would be or how to set it.
I'm not sure if this is anything that can be fixed with MESA, or if it can only be changed or addressed by OpenCLon12.