Skip to content

Commit be3ae3c

Browse files
authored
[PTX] bumped minimum supported ptx version in llvm (#9450)
1 parent ceb2739 commit be3ae3c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

third_party/nvidia/backend/compiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ def get_ptx_version_from_options(options, arch: int):
8080
def get_features(options, arch: int):
8181
ptx_version = get_ptx_version_from_options(options, arch)
8282

83-
# PTX 8.6 is the max version supported by llvm c1188642.
83+
# PTX 8.6 is the max version supported by llvm 979132a0.
8484
#
8585
# To check if a newer PTX version is supported, increase this value
8686
# and run a test. If it's not supported, LLVM will print a warning
8787
# like "+ptx8.4 is not a recognized feature for this target".
88-
llvm_ptx_version = min(86, ptx_version)
88+
llvm_ptx_version = min(90, ptx_version)
8989
features = f'+ptx{llvm_ptx_version}'
9090
return features
9191

0 commit comments

Comments
 (0)