Browse Source

quark: remove unused variables

2upstream
KlausT 10 years ago committed by Tanguy Pruvot
parent
commit
a452c330dd
  1. 2
      quark/animecoin.cu
  2. 2
      quark/quarkcoin.cu

2
quark/animecoin.cu

@ -13,7 +13,6 @@ extern "C" @@ -13,7 +13,6 @@ extern "C"
static uint32_t *d_hash[MAX_GPUS];
// Speicher zur Generierung der Noncevektoren für die bedingten Hashes
static uint32_t *d_animeNonces[MAX_GPUS];
static uint32_t *d_branch1Nonces[MAX_GPUS];
static uint32_t *d_branch2Nonces[MAX_GPUS];
static uint32_t *d_branch3Nonces[MAX_GPUS];
@ -188,7 +187,6 @@ extern "C" int scanhash_anime(int thr_id, uint32_t *pdata, @@ -188,7 +187,6 @@ extern "C" int scanhash_anime(int thr_id, uint32_t *pdata,
cuda_check_cpu_init(thr_id, throughput);
quark_compactTest_cpu_init(thr_id, throughput);
CUDA_SAFE_CALL(cudaMalloc(&d_animeNonces[thr_id], sizeof(uint32_t)*throughput));
CUDA_SAFE_CALL(cudaMalloc(&d_branch1Nonces[thr_id], sizeof(uint32_t)*throughput));
CUDA_SAFE_CALL(cudaMalloc(&d_branch2Nonces[thr_id], sizeof(uint32_t)*throughput));
CUDA_SAFE_CALL(cudaMalloc(&d_branch3Nonces[thr_id], sizeof(uint32_t)*throughput));

2
quark/quarkcoin.cu

@ -15,7 +15,6 @@ extern "C" @@ -15,7 +15,6 @@ extern "C"
static uint32_t *d_hash[MAX_GPUS];
// Speicher zur Generierung der Noncevektoren für die bedingten Hashes
static uint32_t *d_quarkNonces[MAX_GPUS];
static uint32_t *d_branch1Nonces[MAX_GPUS];
static uint32_t *d_branch2Nonces[MAX_GPUS];
static uint32_t *d_branch3Nonces[MAX_GPUS];
@ -160,7 +159,6 @@ extern "C" int scanhash_quark(int thr_id, uint32_t *pdata, @@ -160,7 +159,6 @@ extern "C" int scanhash_quark(int thr_id, uint32_t *pdata,
cuda_check_cpu_init(thr_id, throughput);
quark_compactTest_cpu_init(thr_id, throughput);
cudaMalloc(&d_quarkNonces[thr_id], sizeof(uint32_t)*throughput);
cudaMalloc(&d_branch1Nonces[thr_id], sizeof(uint32_t)*throughput);
cudaMalloc(&d_branch2Nonces[thr_id], sizeof(uint32_t)*throughput);
cudaMalloc(&d_branch3Nonces[thr_id], sizeof(uint32_t)*throughput);

Loading…
Cancel
Save