Skip to content
Snippets Groups Projects

Consolidate codegen and JIT modules.

Merged Frederik Hennig requested to merge fhennig/codegen-module into v2.0-dev
5 files
+ 9
3
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -122,6 +122,11 @@ class CudaPlatform(GenericGpu):
@@ -122,6 +122,11 @@ class CudaPlatform(GenericGpu):
case MathFunctions.Abs if dtype.width == 16:
case MathFunctions.Abs if dtype.width == 16:
cfunc = CFunction(" __habs", arg_types, dtype)
cfunc = CFunction(" __habs", arg_types, dtype)
 
case _:
 
raise MaterializationError(
 
f"Cannot materialize call to function {func}"
 
)
 
call.function = cfunc
call.function = cfunc
return call
return call
Loading