cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

bubu
Adept II

CPU image support

I like the CPU device, specially to debug ( lalalala printf extension! )

The problem is that it does not support images, so I simply cannot debug GPU devices using the CPU "emulation".

 

thx

0 Likes
4 Replies
Tasp
Journeyman III

*bump*

Will cpu image support be implemented some day?

0 Likes

I'd like CPU image support too, but in the meantime you can create another version of your kernels replacing the images with float4, int4, uint4 or whatever and changing the way to retrieve the data accordingly for when you want to run on CPU.

It should be quite simple...

0 Likes

Originally posted by: douglas125 I'd like CPU image support too, but in the meantime you can create another version of your kernels replacing the images with float4, int4, uint4 or whatever and changing the way to retrieve the data accordingly for when you want to run on CPU.

 

It should be quite simple...

 

It is simple but it is tiresome to maintain two "branches" of code that do the same. It would also be simple for the amd team to write appropriate wrappers for cpu image support!

0 Likes
himanshu_gautam
Grandmaster

douglas,

Thanks. I also hope image support for CPUs come in some future releases.

Judy,

Please do not post these advertisements here.

0 Likes