From 71cc5628c8931e319df0c6375d8062685dd992fc Mon Sep 17 00:00:00 2001 From: Anthony Berg Date: Tue, 18 Feb 2025 10:16:10 +0100 Subject: [PATCH] fix(GPUSimulator): use class function instead of calling `hash_kernel` separately --- GPUSimulators/CudaContext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPUSimulators/CudaContext.py b/GPUSimulators/CudaContext.py index 1760948..36b34db 100644 --- a/GPUSimulators/CudaContext.py +++ b/GPUSimulators/CudaContext.py @@ -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)