- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm facing an Access violation issue when calling clReleaseCommandQueue
First-chance exception at 0x77DA3E60 (ntdll.dll) in xxx.exe: 0xC0000005: Access violation writing location 0x00000014.
Unhandled exception at 0x77DA3E60 (ntdll.dll) in xxx.exe: 0xC0000005: Access violation writing location 0x00000014.
if( m_cmd_queue )
{
clReleaseCommandQueue( m_cmd_queue );
m_cmd_queue = NULL;
}
Currently I am using Intel OpenCL SDK 2014.
Below is the detail spec of my machine
OS : Windows 8
CPU : Intel Core i7-4700HQ
GPU : Intel HD Graphics 4600 --> Driver Version 10.18.10.3621
Any solutions for this problem ?
Regards,
Hendrik
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hendrik,
I tried reproducing this issue by using one of the existing samples - SimpleOptimization but didn't see any violation error.
Can you please try reproducing the issue with the existing samples or can you share your code with us?
Please let us know your findings.
Thanks,
-Surbhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Surbhi ,
Adding clFlush() and clFinish() before calling clReleaseCommandQueue() solved this issue for me.
Thanks,
Hendrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hendrik,
Great. Thank you for your question again!
Thanks,
-Surbhi

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page