cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

barno
Journeyman III

Detailed OpenCL capabilities of AMD GPUs

Where do I get all the specs?

I am planning to buy some new GPUs, but I'd like to know the exact OpenCL capabilities before I decide which ones to get.

I have tried to find the capabilities, but couldn't find it. Can anyone help with this?

Thanks

Tags (1)
0 Likes
Reply
14 Replies
rick_weber
Adept II

Detailed OpenCL capabilities of AMD GPUs

What do you mean by capabilities? AMD GPUs of the 5000 series and later support everything you would expect in OpenCL: local memory, constant memory, textures, vectorized data types, and the most useful extensions (double precision, atomics, etc.). Furthermore, you can get a card that does 675 Gflops/s in double precision for $369 and 250W.

0 Likes
Reply
himanshu_gautam
Grandmaster

Detailed OpenCL capabilities of AMD GPUs

0 Likes
Reply
barno
Journeyman III

Detailed OpenCL capabilities of AMD GPUs

Thanks, but I am looking for much more details, like CL_DEVICE_MAX_MEM_ALLOC_SIZE and so on. Basically all the information you can get by running this program http://www.ozone3d.net/gpu_caps_viewer/

0 Likes
Reply
himanshu_gautam
Grandmaster

Detailed OpenCL capabilities of AMD GPUs

Well I guess those infos are available through clInfo. Important information is also given in appendix D of openCL Programming guide. That should be able to decide the GPU suitable for You.

0 Likes
Reply
Meteorhead
Challenger

Detailed OpenCL capabilities of AMD GPUs

I do not know if this type of information is public, but are AMD GPUs capable of function pointers? I have been told that current architecture is unsuitable to implement it. Is this true?

0 Likes
Reply
MicahVillmow
Staff
Staff

Detailed OpenCL capabilities of AMD GPUs

Meteorhead, please look at section 7.16 of the IL spec for limited virtual function support.
0 Likes
Reply
barno
Journeyman III

Detailed OpenCL capabilities of AMD GPUs

Originally posted by: himanshu.gautam

Well I guess those infos are available through clInfo.



Using that I can only get the specs for the GPU in my system or am I missing something?

Originally posted by: himanshu.gautam

Important information is also given in appendix D of openCL Programming guide.



Very useful, thanks!

0 Likes
Reply
himanshu_gautam
Grandmaster

Detailed OpenCL capabilities of AMD GPUs

OpenCL spec Section 6.8 Restrictions

Function pointers are not allowed.

0 Likes
Reply
Meteorhead
Challenger

Detailed OpenCL capabilities of AMD GPUs

Thank you Micah. It is good to know these things are documented, but forgive my limited experience with IL. I do not quite understand how the functions listed add up to being function pointers.

As far as I unterstood (which was very little, so I might get it completely wrong), the IL spec defines something very similar to what is in another topic, named Simulate function pointer. There it was suggested to create structs with IDs and call seperate functions for each of them. I did not quite understand what the IL spec was trying to say, but the ID style of reaching functions seemed very similar to this solution, and in fact I wouldn't be surprised if it would compile onto something similar.

Could you explain in a little more detail in what way is this limited functionality? What issue prevents the compiler from being able to resolve function pointer calls? (But since mainly it is not a compiler issue, as function pointers can chagne runtime, at which point does the HW fail to run such a program?)

These are 3 questions, but the first is most imoprtant.

Thank you in advance,

Máté

0 Likes
Reply