summaryrefslogtreecommitdiff
path: root/expt_0528.cu
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2023-06-12 00:51:30 +0800
committerKunoiSayami <[email protected]>2023-06-12 00:51:30 +0800
commite7de21daf6c674633ef1159c2fd042523c1ec32e (patch)
treee9fea9b2611fb832898900e7fb698e8a1a4c28f3 /expt_0528.cu
parent5f38ca067108eea5a8c334bd8cbe5866300d585c (diff)
refector: Rename last year experimental
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'expt_0528.cu')
-rw-r--r--expt_0528.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/expt_0528.cu b/expt_0528.cu
index d74c93a..fadf3b8 100644
--- a/expt_0528.cu
+++ b/expt_0528.cu
@@ -729,12 +729,12 @@ int main(int argc, char **argv) {
// Launch main kernel
+ blocks = calcBlocks(search_length);
cudaEvent_t start, stop;
cudaEventCreate(&start);
cudaEventCreate(&stop);
cudaEventRecord(start, nullptr);
- blocks = calcBlocks(search_length);
kernel<<<blocks, NUM_THREADS>>>(cudaOperatorItems, search_length, cudaResult);
CudaCheckError();
cudaDeviceSynchronize();