fix(GPUSimulator): use class function instead of calling hash_kernel separately

This commit is contained in:
Anthony Berg 2025-02-18 10:16:10 +01:00
parent 23837b5828
commit 71cc5628c8

View File

@ -221,7 +221,7 @@ class CudaContext(object):
options_hash = options_hasher.hexdigest()
# Create hash of kernel souce
source_hash = CudaContext.hash_kernel( \
source_hash = self.hash_kernel( \
kernel_path, \
include_dirs=[self.module_path] + include_dirs)