8000 [hipify] Replace cudaStreamCaptureStatusNone (#161992) · pytorch/pytorch@850e138 · GitHub
[go: up one dir, main page]

Skip to content

Commit 850e138

Browse files
YulunWpytorchmergebot
authored andcommitted
[hipify] Replace cudaStreamCaptureStatusNone (#161992)
Replacing additional cuda symbols to hip symbols Differential Revision: D81420086 Pull Request resolved: #161992 Approved by: https://github.com/jeffdaily, https://github.com/Skylion007
1 parent 3c0ff1b commit 850e138

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torch/utils/hipify/cuda_to_hip_mappings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4326,6 +4326,7 @@
43264326
("cudaStreamGetCaptureInfo_v2", ("hipStreamGetCaptureInfo_v2", CONV_TYPE, API_RUNTIME)),
43274327
("cudaStreamCaptureStatus", ("hipStreamCaptureStatus", CONV_TYPE, API_RUNTIME)),
43284328
("cudaStreamCaptureStatusActive", ("hipStreamCaptureStatusActive", CONV_TYPE, API_RUNTIME)),
4329+
("cudaStreamCaptureStatusNone", ("hipStreamCaptureStatusNone", CONV_TYPE, API_RUNTIME)),
43294330
("cudaStreamCaptureMode", ("hipStreamCaptureMode", CONV_TYPE, API_RUNTIME)),
43304331
("cudaStreamCaptureModeGlobal", ("hipStreamCaptureModeGlobal", CONV_TYPE, API_RUNTIME)),
43314332
("cudaStreamCaptureModeRelaxed", ("hipStreamCaptureModeRelaxed", CONV_TYPE, API_RUNTIME)),

0 commit comments

Comments
 (0)
0