cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

Neverhood
Adept II

OpenCL: clCreateCommandQueue() returns CL_OUT_OF_HOST_MEMORY error

Good day.

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

 

 

0 Likes
7 Replies
dipak
Big Boss

 

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: 

Product and OS Support Update for Radeon Software Adrenalin 21.6.1

https://www.amd.com/en/support/graphics/amd-radeon-r7-series/amd-radeon-r7-200-series/amd-radeon-r7-...

 

Thanks.

 

0 Likes

@dipak, and what about RX 6700 XT card? It is supported by the latest driver, but error still occures.

0 Likes

Is it a multi-gpu setup with R7 260X and RX 6700XT ? If so, please try below steps: 

  1. Remove Radeon R7 260X card.
  2. Freshly install the latest driver.
  3. See the clinfo output to check that RX 6700XT is correctly detected. 
  4. Test the code.

If the error still occurs, please share the clinfo output.

Thanks.

 

 

0 Likes

@dipak, no, this is standalone machine with 6700 XT card, Windows 10 and video driver v21.7.1.

0 Likes

Thanks for the information. We'll look into this and get back to you.

Please attach the clinfo output.

Thanks.

0 Likes

0 Likes

Thanks for sharing the clinfo output.

 

0 Likes