mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[hipify] Replace cuda error cudaErrorContextIsDestroyed (#153576)
Summary: The cuda symbol the cuda symbol cudaErrorContextIsDestroyed is not converted to hipErrorContextIsDestroyed. Add this convertion Test Plan: CI Differential Revision: D74542735 Pull Request resolved: https://github.com/pytorch/pytorch/pull/153576 Approved by: https://github.com/xw285cornell, https://github.com/cyyever
This commit is contained in:
parent
a060f3d272
commit
3aa84775e7
|
|
@ -792,6 +792,10 @@ CUDA_IDENTIFIER_MAP = collections.OrderedDict(
|
|||
"cudaErrorSetOnActiveProcess",
|
||||
("hipErrorSetOnActiveProcess", CONV_TYPE, API_RUNTIME, HIP_UNSUPPORTED),
|
||||
),
|
||||
(
|
||||
"cudaErrorContextIsDestroyed",
|
||||
("hipErrorContextIsDestroyed", CONV_TYPE, API_RUNTIME),
|
||||
),
|
||||
(
|
||||
"cudaErrorInvalidSurface",
|
||||
("hipErrorInvalidSurface", CONV_TYPE, API_RUNTIME, HIP_UNSUPPORTED),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user