Skip to content
Snippets Groups Projects

Use int64 for indexing

Merged Markus Holzer requested to merge holzer/pystencils:type_boundary into master
Viewing commit 6317081b
Prev
Show latest version
1 file
+ 1
1
Preferences
Compare changes
@@ -83,7 +83,7 @@ class OpenClSympyPrinter(CudaSympyPrinter):
function_name, dimension = tuple(symbol_name.split("."))
dimension = self.DIMENSION_MAPPING[dimension]
function_name = self.INDEXING_FUNCTION_MAPPING[function_name]
return f"(int) {function_name}({dimension})"
return f"(int64_t) {function_name}({dimension})"
def _print_TextureAccess(self, node):
raise NotImplementedError()