Skip to content

Commit

Permalink
remove cuda error check
Browse files Browse the repository at this point in the history
  • Loading branch information
wxj6000 committed Dec 9, 2024
1 parent 959bd09 commit ce6264b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions gpu4pyscf/lib/gvhf-md/unrolled_md_j.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

0 comments on commit ce6264b

Please sign in to comment.