Skip to content

Commit e6b0bba

Browse files
alugoreyblorange-amd
authored andcommitted
Fix CONST_QUALIFIER definition (#1089)
1 parent 3e73e4b commit e6b0bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aten/src/ATen/native/cuda/linalg/CUDASolver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#if defined(CUDART_VERSION) || defined(ROCM_VERSION) && ROCM_VERSION >= 50200
1111

1212
#if defined(CUDART_VERSION) || defined(ROCM_VERSION) && ROCM_VERSION >= 50300
13-
#define CONST_QUALIFIER CONST_QUALIFIER
13+
#define CONST_QUALIFIER const
1414
#else
1515
// hipSOLVER functions in ROCM(5.2) do not support CONST_QUALIFIER qualifier
1616
#define CONST_QUALIFIER

0 commit comments

Comments
 (0)