KhronosGroup / OpenCL-SDK

OpenCL SDK
Apache License 2.0
578 stars 120 forks source link

Using the clGetPlatformIDs function will cause a crash when the graphics card is disabled #84

Open zgj520 opened 1 year ago

zgj520 commented 1 year ago

After reviewing the implementation of khrIcdOsVendorsEnumerate, it is recommended to consider whether the graphics card is available before calling khrIcdVendorAdd to add it to the list