Bitcoin Forum

Other => Beginners & Help => Topic started by: Proofer on November 29, 2011, 02:52:51 AM



Title: GPU low-level programming?
Post by: Proofer on November 29, 2011, 02:52:51 AM
Can AMD/ATI GPUs be programmed in -- not sure this CPU terminology is appropriate -- assembly language?  Is there an instruction set  specification for the various cards available somewhere?  --Haven't found such things (yet) on an AMD site.


Title: Re: GPU low-level programming?
Post by: phorensic on December 06, 2011, 11:36:08 PM
OpenCL is as low-level as you are going to get.


Title: Re: GPU low-level programming?
Post by: fivebells on December 07, 2011, 03:51:14 AM
I think this (http://developer.amd.com/gpu_assets/R600_Instruction_Set_Architecture.pdf) is what you're after.  (Referred to from here (http://gpgpu.org/wp/wp-content/uploads/2009/09/E1-OpenCL-Architecture.pdf).)


Title: Re: GPU low-level programming?
Post by: Proofer on December 07, 2011, 05:09:16 AM
OpenCL is as low-level as you are going to get.
Since my OP I've found what I was looking for on the AMD site.  I also looked at the source code for cgminer and its assembly language module.


Title: Re: GPU low-level programming?
Post by: Proofer on December 07, 2011, 05:14:34 AM
I think this (http://developer.amd.com/gpu_assets/R600_Instruction_Set_Architecture.pdf) is what you're after.  (Referred to from here (http://gpgpu.org/wp/wp-content/uploads/2009/09/E1-OpenCL-Architecture.pdf).)
Thanks.  I also found this (http://"http://developer.amd.com/sdks/amdappsdk/assets/R600-R700-Evergreen_Assembly_Language_Format.pdf") -- R600-R700-Evergreen_Assembly_Language_Format.pdf.