cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

fulcrum_xyz
Journeyman III

registers arrays ?

I was not able to use register arrays on OpenCL with Stream SDK v2.1, are they supported ?

0 Likes
3 Replies
omkaranathan
Adept I

Strorage-class specifier 'register' is not supported.

Refer to OpenCL Spec Section 6.8(g) 

What is the behavior with register? Please report if you are not getting proper error message. 

0 Likes

In case you just mean arrays that sit in registers rather than private DRAM backed memory:

In general the register file is not indexable, but a private array with static or simple indexing within an unrollable loop should convert to registers in many cases. You can see when by using the stream kernel analyzer.

0 Likes

I was refering to arrays that sit in registers...

so for simple static indexing it should work  - thanks will check it out

0 Likes