cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

skstronghold
Journeyman III

Support for OpenCL Extension cl_khr_int64_base_atomics in AMD ATI Radeon HD series

I have ATI Radeon HD 5970 graphics card in my 64 bit CentOS 6.2 system having Intel core i7 processor. I have installed ATI 12.2 drivers and AMD APP SDK 2.6 . I want to use cl_khr_int64_base_atomics(OpenCL 1.1) extension for 64 bit integer computation on my GPU device, but the device does not support it. However, the same extension is supported by CPU device. Can I somehow use 64 bit integers with my GPU device(I am in desperate need of this)? Is there any work-around for the same? Will the coming versions of ATI drivers/AMD SDK support this ? Is this extension supported by any other graphics card?

For details, output of my clinfo command is attached.

0 Likes
1 Solution
yurtesen
Miniboss

You can workaround the issue by making your own atomic functions. Basically you should use 32bit atomics for making sure that a 64bit variable can be changed atomically. I have done this and under certain circumstances it is possible to implement performance efficient solutions.

See:

Creating OpenCL Semaphors

http://www.cmsoft.com.br/index.php?option=com_content&view=category&layout=blog&id=113&Itemid=168

View solution in original post

0 Likes
2 Replies

No AMD GPU's currently support the 64bit atomic extensions.

yurtesen
Miniboss

You can workaround the issue by making your own atomic functions. Basically you should use 32bit atomics for making sure that a 64bit variable can be changed atomically. I have done this and under certain circumstances it is possible to implement performance efficient solutions.

See:

Creating OpenCL Semaphors

http://www.cmsoft.com.br/index.php?option=com_content&view=category&layout=blog&id=113&Itemid=168

0 Likes