Skip to content

Commit bc5f219

Browse files
committed
Indecies should be signed
1 parent 5b1a948 commit bc5f219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenCLKernelBuilder/src/main/scala/com/thoughtworks/compute/OpenCLKernelBuilder.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ trait OpenCLKernelBuilder extends FloatArrays {
212212
}
213213
}
214214
val indexId = freshName("index")
215-
indexId -> fast"size_t $indexId = ${products.mkFastring(" + ")};\n"
215+
indexId -> fast"offset_t $indexId = ${products.mkFastring(" + ")};\n"
216216
}).unzip
217217

218218
// fast"

0 commit comments

Comments
 (0)