Commit aa8d8d2d authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Fix pycuda numpy.int instead of int

parent ece7cbb5
......@@ -116,7 +116,7 @@ class CudaSinoNormalization(SinoNormalization, CudaProcessing):
blk = (1, 64, 16) # TODO tune ?
self._cuda_kernel_kwargs = {
"block": blk,
"grid": (1, updiv(self.n_angles, blk[1]), updiv(self.n_z, blk[2])),
"grid": (1, int(updiv(self.n_angles, blk[1])), int(updiv(self.n_z, blk[2]))),
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment