We have a problem on some machines with the latest AMD drivers. The call to clCreateCommandQueue() returns CL_OUT_OF_HOST_MEMORY error.
This can be observed for AMD Radeon R7 260X and 6700XT GPUs.
OS: Windows 10.0.19042. RAM: 24513 Mb. Page file size: 9216 Mb.
Note, that there is no error with 21.2.2 drivers.
Link to the test code: https://disk.yandex.ru/d/LGDBuvjnNVvaWg
Output from faulty machines:
Detected OpenCL platform: Advanced Micro Devices, Inc. Detected 1 GPU device(s) Device: AMD Radeon R7 200 Series clCreateContext(): 0 clCreateCommandQueue(): -6
With the release of the lastest Adrenalin driver 21.6.1, Radeon R7 260X has been moved to a legacy support model and no additional driver releases are planned for this product. For more information, please find the below links:
Is it a multi-gpu setup with R7 260X and RX 6700XT ? If so, please try below steps:
If the error still occurs, please share the clinfo output.