pytorch/c10
Shiyan Deng e8f5c24d17 [rocm]add device guard when initialize single stream (#154433)
Summary: AMD streams are lazily initialized and sometimes (e.g. when we just want to do event recording on the stream) we might not be setting the device guard while it's initializing which would lead to invalid configuration error.

Differential Revision: D75456460

Pull Request resolved: https://github.com/pytorch/pytorch/pull/154433
Approved by: https://github.com/jeffdaily
2025-05-29 19:42:12 +00:00
..
benchmark Set RUNPATH so installed tests can find the required shared libraries (#136627) 2024-10-25 09:38:08 +00:00
core [ez] Make SymNodeImpl comments less misleading (#154480) 2025-05-28 14:04:32 +00:00
cuda [rocm]add device guard when initialize single stream (#154433) 2025-05-29 19:42:12 +00:00
hip Use torch_compile_options for c10 libraries (#147821) 2025-03-18 01:54:23 +00:00
macros [Lint] Update clang-format to 19.1.4 (#153889) 2025-05-20 14:12:46 +00:00
metal [MPS][BE] Move fmod/remainder to Metal ops (#154280) 2025-05-24 01:45:33 +00:00
mobile [2/N] Fix extra warnings brought by clang-tidy-17 (#137459) 2024-10-08 19:05:02 +00:00
test [nativert] port semaphore to c10 util (#153504) 2025-05-28 19:17:30 +00:00
util [nativert] port semaphore to c10 util (#153504) 2025-05-28 19:17:30 +00:00
xpu Keep XPU compatible with toolchain 2025.2 (#154359) 2025-05-29 11:12:07 +00:00
BUCK.oss [nativert] port semaphore to c10 util (#153504) 2025-05-28 19:17:30 +00:00
BUILD.bazel
build.bzl Use c10 version of half/bfloat16 in executorch (#144111) 2025-02-08 22:40:14 +00:00
CMakeLists.txt [nativert] port semaphore to c10 util (#153504) 2025-05-28 19:17:30 +00:00
ovrsource_defs.bzl [NeuralNetInference] Bring up iOS builds (#131917) 2024-07-30 23:01:09 +00:00