simd: then reindent the code

no changes, only error checks (cuda safe call)
This commit is contained in:
Tanguy Pruvot 2014-10-25 22:40:26 +02:00
parent b465fe6825
commit 93f4409dde
2 changed files with 427 additions and 431 deletions

File diff suppressed because it is too large Load Diff

View File

@ -147,7 +147,6 @@ extern "C" int scanhash_x11(int thr_id, uint32_t *pdata,
if (!init[thr_id])
{
CUDA_SAFE_CALL(cudaSetDevice(device_map[thr_id]));
// Konstanten kopieren, Speicher belegen
CUDA_SAFE_CALL(cudaMalloc(&d_hash[thr_id], 16 * sizeof(uint32_t) * throughput));
quark_blake512_cpu_init(thr_id, throughput);