I'm getting CL_OUT_OF_HOST_MEMORY error when calling any of clAmdBlas* functions (clAmdBlasSsyr2 for example) under gDEBugger.
Error occurs only when running under gDEBugger either code compiled in debug mode by Visual Studio 2010 or MinGW 4.6.1 g++. I'm using OpenCL 1.1 AMD-APP (831.4) and AMD APP SDK 2.6. I also tryied to run gDEBugger from Visual Studio and as standalone with g++ compiled executable - same result.
What can be a reason of this problem? How can I fix it?
Are you using gDEBugger 6.2 version ?, I tried with the latest gDEBugger and APPML 1.7 clBLAS beta build, All the functions related clAMDBlas is running fine within the gDEBugger. I used VS native compiler, but haven't tried it with g++.
What catalyst driver are you using ? Are you facing problem only on GPU or CPU as well ?
Does the program run fine without the debugger ??, Can you cut & paste the code your trying to compile & run
Well I couldn't get much from source file, Anyhow can you try this, go to AMDBlas folder under "Program Files" "AMD/clAmdBlas/samples" There are several samples, Now compile them in Visual Studio 2010 and try to run it through gDEBugger (via Visual Studio extension)
Do you still see problem ?
Also let me know what kind of CPU you are using ? Does this happen only AMDBlas libraries ? Did you try running any of the AMD APP SDK samples like templateC, etc using CPU, do you still see the CL_OUT_OF_MEMORY error.?
Finally found a way to reproduce this issue. Sample code attached. The way to reproduce issue is to call clAmdBlasSsymvEx several times. Mine starting return an error after three calls. Returning -6 -CL_OUT_OF_HOST_MEMORY. Configuration is the same as declared above.
Tryied to debug x64 application - same result.
Thanks for the sample code, we are able to reproduce this. We will bug report this against the product.
Appreciate your patience.