Skip to content

Commit e38d394

Browse files
authored
Merge pull request #1962 from CEED/zach/cuda-gen-fix
bug: Fix bad commit to cuda/gen
2 parents bc0cf4a + e321fb0 commit e38d394

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backends/cuda-gen/ceed-cuda-gen-operator-build.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1865,7 +1865,7 @@ static int CeedOperatorBuildKernelAssemblyAtPoints_Cuda_gen(CeedOperator op, boo
18651865
// Loop over all elements
18661866
code << "\n" << tab << "// Element loop\n";
18671867
code << tab << "__syncthreads();\n";
1868-
code << tab << "for (CeedInt elem = blockIdx.x*blockDim.z + threadIdx.z; e < num_elem; elem += gridDim.x*blockDim.z) {\n";
1868+
code << tab << "for (CeedInt elem = blockIdx.x*blockDim.z + threadIdx.z; elem < num_elem; elem += gridDim.x*blockDim.z) {\n";
18691869
tab.push();
18701870

18711871
// -- Compute minimum buffer space needed

0 commit comments

Comments
 (0)