Skip to content

dace_executable

DaceExecutable dataclass

Bundle the executable (lib) and its marshalled arguments for execution

arguments = None class-attribute instance-attribute

Arguments as C-ready pointers

arguments_hash = 0 class-attribute instance-attribute

Hash reflecting the python/C pointers arguments

compiled_sdfg instance-attribute

Loaded compiled SDFG

hash_expected_dsl_args(args, kwargs)

Hash direct memory of NDSL expected types.

Handling the following types
  • quantity | Numpy.ndarray | cupy.ndarray: we hash the C pointer through the array interface,
  • state: called into a bespoke function,
  • everything else is passed as-is to hash which can fail.