cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

perhaad
Adept I

OpenCL Histogram example

Error about sub32 bit writes

Hello Everyone,

I wanted to confirm if the  "cl_khr_byte_addressable_store" flag is still truly absent for GPUs in the present release of the SDK / driver ?

I get the error 

"Error: Device does not support sub 32bit writes!"

when I run the example on the GPU. The CPU example runs fine.
Some previous posts had mentioned that the Beta-SDK didnt support this flag.
Is it still the case ??
Thank You,
--
 Perhaad
0 Likes
5 Replies
perhaad
Adept I

Just to add to the information.

I tried commenting out the check because the OpenCL kernel had a pragma that enabled a byte store.


However this generates wrong answer that does not pass the verification with "-e" as per the example..

Thanks 

Perhaad

0 Likes

byte_addressable_store extension is not supported for GPU in SDK 2.01.

Trying to use this extension on an unsupported device will give undefined results.

 

0 Likes

Sorry to bump this topic up again, but I tried out the 2.1 SDK and I still see that the byte-addressable store is absent, when I do a CLinfo and the Histo examples die

I was told in the OpenCL ETA thread that this would be supported for Cypress GPUs  ?

http://forums.amd.com/devforum/messageview.cfm?catid=390&threadid=132611&enterthread=y

Do I need the latest driver, does it matter ?

I am presently on Catalyst 10.2

Thanks,

Perhaad

0 Likes

Originally posted by: perhaad

Do I need the latest driver, does it matter ?

I am presently on Catalyst 10.2

Driver matters a lot if you working on GPU.  Please upgrade to 10.4 driver.

0 Likes

Thank You very much, I did install the newer driver, Works fine.

 

Perhaad

0 Likes