Bitcoin Forum
December 14, 2024, 07:52:08 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help porting C to CUDA and then move branching to CPU.  (Read 695 times)
cyberspacemonkey (OP)
Legendary
*
Offline Offline

Activity: 1288
Merit: 1002


View Profile
July 05, 2015, 11:04:19 PM
 #1

I'd like to learn how to Mod ccminer to improve performance by moving the branching part to the CPU and run only the hashing algos on GPU, can someone guide me step by step? or can at least tell me where can I find a guide for that? I understand it's difficult but I'd appreciate any help.
sp_
Legendary
*
Offline Offline

Activity: 2954
Merit: 1087

Team Black developer


View Profile
July 06, 2015, 07:25:29 AM
 #2

Ccminer is already doing all the hashing code on the gpu, but when it finds a solution it verifies the result on the CPU.

Team Black Miner (ETHB3 ETH ETC VTC KAWPOW FIROPOW EVRPROGPOW MEOWPOW + dual mining + tripple mining.. https://github.com/sp-hash/TeamBlackMiner
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1050


View Profile WWW
July 06, 2015, 10:40:19 AM
 #3

I'd like to learn how to Mod ccminer to improve performance by moving the branching part to the CPU and run only the hashing algos on GPU, can someone guide me step by step? or can at least tell me where can I find a guide for that? I understand it's difficult but I'd appreciate any help.
what branching part ?
as sp_ wrote, everything is already done on gpu except the (unnecessary) cpu validation ( where the result to gpu algo is compared to the "original" cpu algo)

By branching if you mean to merge together all the kernel into one big entity then it will kill the performance (not enough registers)

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
cyberspacemonkey (OP)
Legendary
*
Offline Offline

Activity: 1288
Merit: 1002


View Profile
July 06, 2015, 09:04:29 PM
 #4

I'd like to learn how to Mod ccminer to improve performance by moving the branching part to the CPU and run only the hashing algos on GPU, can someone guide me step by step? or can at least tell me where can I find a guide for that? I understand it's difficult but I'd appreciate any help.
what branching part ?
as sp_ wrote, everything is already done on gpu except the (unnecessary) cpu validation ( where the result to gpu algo is compared to the "original" cpu algo)

By branching if you mean to merge together all the kernel into one big entity then it will kill the performance (not enough registers)


How would I go about modifying my ccminer to improve performance then?
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1050


View Profile WWW
July 06, 2015, 11:08:33 PM
 #5

I'd like to learn how to Mod ccminer to improve performance by moving the branching part to the CPU and run only the hashing algos on GPU, can someone guide me step by step? or can at least tell me where can I find a guide for that? I understand it's difficult but I'd appreciate any help.
what branching part ?
as sp_ wrote, everything is already done on gpu except the (unnecessary) cpu validation ( where the result to gpu algo is compared to the "original" cpu algo)

By branching if you mean to merge together all the kernel into one big entity then it will kill the performance (not enough registers)


How would I go about modifying my ccminer to improve performance then?
rewrite the algos

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
cyberspacemonkey (OP)
Legendary
*
Offline Offline

Activity: 1288
Merit: 1002


View Profile
July 07, 2015, 02:23:37 AM
 #6

I'd like to learn how to Mod ccminer to improve performance by moving the branching part to the CPU and run only the hashing algos on GPU, can someone guide me step by step? or can at least tell me where can I find a guide for that? I understand it's difficult but I'd appreciate any help.
what branching part ?
as sp_ wrote, everything is already done on gpu except the (unnecessary) cpu validation ( where the result to gpu algo is compared to the "original" cpu algo)

By branching if you mean to merge together all the kernel into one big entity then it will kill the performance (not enough registers)


How would I go about modifying my ccminer to improve performance then?
rewrite the algos

Sounds difficult, but is it possible? if so how would I start? thanks for replying by the way.
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!