Skip to content

Commit

Permalink
Merge pull request #367 from whuaegeanse/fix_openmp
Browse files Browse the repository at this point in the history
CHOLMOD GPU: Fix openmp
  • Loading branch information
DrTimothyAldenDavis authored Aug 30, 2023
2 parents 1ec38a5 + b56a201 commit bad1ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHOLMOD/GPU/t_cholmod_gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void TEMPLATE2 (CHOLMOD (gpu_clear_memory))
int chunk_multiplier = 5;
int num_chunks = chunk_multiplier * num_threads;
size_t chunksize = size / num_chunks;
size_t i;
int i;

#pragma omp parallel for num_threads(num_threads) private(i) schedule(dynamic)
for(i = 0; i < num_chunks; i++) {
Expand Down

0 comments on commit bad1ee7

Please sign in to comment.