Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ABoxe
Beginner
37 Views

Events not getting their ref count incremented

When I pass an array of 2 wait events into clEnqueueReadBuffer, with one event created manually, the ref counts are not incremented.

As I understand, all events passed into cl methods should get their ref counts incremented.

This works correctly with my GPU, but not for CPU (WIndows 7 64 bit,  core i7 3770, latest Intel OpenCL driver for CPU)

0 Kudos
3 Replies
Robert_I_Intel
Employee
37 Views

Aaron,

Could you please send me a small reproducer (a small buildable code sample) that demonstrates this behavior? Thanks!

ABoxe
Beginner
37 Views

Thanks, Robert. I am working on this.

When I call clCreateUserEvent, does this use the Intel ICD, or does it use the host OpenCL library.

Because, I am using the AMD OpenCL SDK, with target set to CPU. 

ABoxe
Beginner
37 Views

OK, so it turns out that I was not initializing the CPU context correctly.,  Working fine now.