mirror of
https://github.com/smyalygames/FiniteVolumeGPU_HIP.git
synced 2025-05-18 14:34:12 +02:00
replace .cu with cu.hip
This commit is contained in:
parent
e2b56c6ab9
commit
b53f5bf601
@ -108,7 +108,7 @@ class EE2D_KP07_dimsplit (BaseSimulator):
|
|||||||
#self.kernel = module.get_function("KP07DimsplitKernel")
|
#self.kernel = module.get_function("KP07DimsplitKernel")
|
||||||
#self.kernel.prepare("iiffffffiiPiPiPiPiPiPiPiPiPiiii")
|
#self.kernel.prepare("iiffffffiiPiPiPiPiPiPiPiPiPiiii")
|
||||||
#
|
#
|
||||||
kernel_file_path = os.path.abspath(os.path.join('cuda', 'EE2D_KP07_dimsplit.cu'))
|
kernel_file_path = os.path.abspath(os.path.join('cuda', 'EE2D_KP07_dimsplit.cu.hip'))
|
||||||
with open(kernel_file_path, 'r') as file:
|
with open(kernel_file_path, 'r') as file:
|
||||||
kernel_source = file.read()
|
kernel_source = file.read()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user