Skip to content

Commit

Permalink
remove const
Browse files Browse the repository at this point in the history
  • Loading branch information
boulderdaze committed May 16, 2024
1 parent 46402c6 commit b54cc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/rosenbrock.cu
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace micm
// Specific CUDA device function to do reduction within a warp
// Use volatile to prevent compiler optimization (caching in registers)
// No need to synchronize threads in the same warp
__device__ void WarpReduce(const volatile double* sdata, size_t tid)
__device__ void WarpReduce(volatile double* sdata, size_t tid)
{
if (BLOCK_SIZE >= 64) {
sdata[tid] += sdata[tid + 32];
Expand Down

0 comments on commit b54cc30

Please sign in to comment.