Bitcoin Forum
December 15, 2024, 02:26:03 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Documentation for GPU programming  (Read 777 times)
zefir (OP)
Donator
Hero Member
*
Offline Offline

Activity: 919
Merit: 1000



View Profile
July 03, 2011, 08:34:57 AM
 #1

GPU developers,

I'm too 'fresh' to post in the mining forums, hope that some seniors are around and help me out with some hints.

Just started gaining interest in GPU programming after my first mining rig is up and producing some bitcents. Lurked around at AMD and Khronos websites and downloaded the documentation I found at [1]. Lots of information, but still it seems the last details are missing.

What I haven't found (yet) is information on the lowest level with cycle times for machine instructions  to figure out why e.g.
  • amd_bytealign((z^x),(y),(x)) is performing better than amd_bytealign((y),(x|z),(z&x))
  • or amd_bitalign(x,x,(u)(32-y)) is faster than rotate(x,(u)y)

For the first case it might be obvious that one logical operation takes less than two of them. But for the second you need to have the cycle count for both instructions to know that one is faster than the other.

Is someone aware of related documentation being freely available?


Thanks

[1] http://developer.amd.com/SDKS/AMDAPPSDK/documentation/Pages/default.aspx

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!