Skip to content

Commit

Permalink
More flags
Browse files Browse the repository at this point in the history
  • Loading branch information
gshtras committed Sep 12, 2024
1 parent 1c46c14 commit 7003b95
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gradlib/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
'nvcc': [
'-O3', '-U__CUDA_NO_HALF_OPERATORS__',
'-U__CUDA_NO_HALF_CONVERSIONS__',
"-ftemplate-depth=1024"
"-ftemplate-depth=1024",
'-DLEGACY_HIPBLAS_DIRECT=ON',
] + extra_args
}))
ext_modules.append(
Expand All @@ -148,7 +149,8 @@
'nvcc': [
'-O3', '-U__CUDA_NO_HALF_OPERATORS__',
'-U__CUDA_NO_HALF_CONVERSIONS__',
"-ftemplate-depth=1024"
"-ftemplate-depth=1024",
'-DLEGACY_HIPBLAS_DIRECT=ON',
] + extra_args
}))

Expand Down

0 comments on commit 7003b95

Please sign in to comment.