File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -3464,7 +3464,7 @@ def compile(
3464
3464
cmd_parts , stderr = subprocess .STDOUT , env = os .environ
3465
3465
)
3466
3466
except subprocess .CalledProcessError as error :
3467
- raise exc .CUDACompileError (cmd_parts , error .output ) from error
3467
+ raise exc .SYCLCompileError (cmd_parts , error .output ) from error
3468
3468
end_time = time ()
3469
3469
log_duration_msg = f"SYCL Compilation took { end_time - start_time } seconds. Compile command: { cmd } "
3470
3470
log .info (log_duration_msg )
Original file line number Diff line number Diff line change @@ -113,6 +113,10 @@ class CUDACompileError(CppCompileError):
113
113
pass
114
114
115
115
116
+ class SYCLCompileError (CppCompileError ):
117
+ pass
118
+
119
+
116
120
class TritonMissing (ShortenTraceback ):
117
121
def __init__ (self , first_useful_frame : Optional [types .FrameType ]) -> None :
118
122
super ().__init__ (
You can’t perform that action at this time.
0 commit comments