Skip to content

Commit 80a8ca9

Browse files
authored
[extension] hotfix compile check (#6099)
1 parent dee63cc commit 80a8ca9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extensions/cpp_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def build_jit(self) -> None:
7979

8080
# check if the kernel has been built
8181
compiled_before = False
82-
kernel_file_path = build_directory.joinpath(f"{self.name}.o")
82+
kernel_file_path = build_directory.joinpath(f"{self.name}.so")
8383
if kernel_file_path.exists():
8484
compiled_before = True
8585

extensions/cuda_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def build_jit(self) -> None:
7474

7575
# check if the kernel has been built
7676
compiled_before = False
77-
kernel_file_path = build_directory.joinpath(f"{self.name}.o")
77+
kernel_file_path = build_directory.joinpath(f"{self.name}.so")
7878
if kernel_file_path.exists():
7979
compiled_before = True
8080

0 commit comments

Comments
 (0)