From ce6264b7e54e547285f9b541d702f27d521d8077 Mon Sep 17 00:00:00 2001 From: Xiaojie Wu Date: Sun, 8 Dec 2024 16:30:26 -0800 Subject: [PATCH] remove cuda error check --- gpu4pyscf/lib/gvhf-md/unrolled_md_j.cu | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gpu4pyscf/lib/gvhf-md/unrolled_md_j.cu b/gpu4pyscf/lib/gvhf-md/unrolled_md_j.cu index c8eda00c..1af3e63a 100644 --- a/gpu4pyscf/lib/gvhf-md/unrolled_md_j.cu +++ b/gpu4pyscf/lib/gvhf-md/unrolled_md_j.cu @@ -5077,9 +5077,4 @@ void set_md_j_unrolled_shm_size() cudaFuncSetAttribute(md_j_3_0, cudaFuncAttributeMaxDynamicSharedMemorySize, 8448*sizeof(double)); cudaFuncSetAttribute(md_j_3_1, cudaFuncAttributeMaxDynamicSharedMemorySize, 7424*sizeof(double)); cudaFuncSetAttribute(md_j_4_0, cudaFuncAttributeMaxDynamicSharedMemorySize, 7808*sizeof(double)); - - cudaError_t err = cudaGetLastError(); - if (err != cudaSuccess) { - fprintf(stderr, "CUDA Error in set_md_j_unrolled_shm_size: %s\n", cudaGetErrorString(err)); - } }