Browse Source

simd: then reindent the code

no changes, only error checks (cuda safe call)
master
Tanguy Pruvot 10 years ago
parent
commit
93f4409dde
  1. 903
      x11/cuda_x11_simd512.cu
  2. 1
      x11/x11.cu

903
x11/cuda_x11_simd512.cu

File diff suppressed because it is too large Load Diff

1
x11/x11.cu

@ -147,7 +147,6 @@ extern "C" int scanhash_x11(int thr_id, uint32_t *pdata,
if (!init[thr_id]) if (!init[thr_id])
{ {
CUDA_SAFE_CALL(cudaSetDevice(device_map[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)); CUDA_SAFE_CALL(cudaMalloc(&d_hash[thr_id], 16 * sizeof(uint32_t) * throughput));
quark_blake512_cpu_init(thr_id, throughput); quark_blake512_cpu_init(thr_id, throughput);

Loading…
Cancel
Save