mirror of
https://github.com/smyalygames/FiniteVolumeGPU.git
synced 2025-12-27 14:58:44 +01:00
fix(GPUSimulator): use class function instead of calling hash_kernel separately
This commit is contained in:
@@ -221,7 +221,7 @@ class CudaContext(object):
|
|||||||
options_hash = options_hasher.hexdigest()
|
options_hash = options_hasher.hexdigest()
|
||||||
|
|
||||||
# Create hash of kernel souce
|
# Create hash of kernel souce
|
||||||
source_hash = CudaContext.hash_kernel( \
|
source_hash = self.hash_kernel( \
|
||||||
kernel_path, \
|
kernel_path, \
|
||||||
include_dirs=[self.module_path] + include_dirs)
|
include_dirs=[self.module_path] + include_dirs)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user