Skip to content

Commit 5650382

Browse files
okakarpajeffdaily
authored andcommitted
[AUTOGENERATED] [release/2.7] fix jit_utils.cpp (#2320)
Cherry-pick of #2319 Co-authored-by: Jeff Daily <[email protected]> (cherry picked from commit e725e2e)
1 parent b213417 commit 5650382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aten/src/ATen/native/cuda/jit_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace at::cuda::jit {
4545
// Copied from aten/src/ATen/cuda/llvm_basic.cpp, then modified as above.
4646
// If not compiling for ROCm, return the original get_traits_string().
4747
std::string get_traits_string_but_hiprtc_safe() {
48-
#ifdef USE_ROCM
48+
#if defined(USE_ROCM) && ROCM_VERSION < 70000
4949
return R"ESCAPE(
5050
namespace std {
5151

0 commit comments

Comments
 (0)