[Openmp-commits] [openmp] [Libomptarget] Bump up PTX version from +ptx61 to +ptx63 (PR #70227)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Wed Oct 25 09:57:35 PDT 2023
https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/70227
Summary:
This version is required to support the 'activemask' feature which is
used for certain features, such as reductions. This ties the
implementation of the DeviceRTL roughly to the features provided by the
CUDA 9.0 release, which should be sufficienly old as to not cause
problems since this is a minor version jump that corresponds to the
release of `sm_53`.
>From 650d862ef32c3a7933fe1e3d1af08b28a63f2809 Mon Sep 17 00:00:00 2001
From: Joseph Huber <jhuber6 at vols.utk.edu>
Date: Wed, 25 Oct 2023 11:54:29 -0500
Subject: [PATCH] [Libomptarget] Bump up PTX version from +ptx61 to +ptx63
Summary:
This version is required to support the 'activemask' feature which is
used for certain features, such as reductions. This ties the
implementation of the DeviceRTL roughly to the features provided by the
CUDA 9.0 release, which should be sufficienly old as to not cause
problems since this is a minor version jump that corresponds to the
release of `sm_53`.
---
openmp/libomptarget/DeviceRTL/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmp/libomptarget/DeviceRTL/CMakeLists.txt b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
index f71bdeae3d7f091..df8e4a5126fd443 100644
--- a/openmp/libomptarget/DeviceRTL/CMakeLists.txt
+++ b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
@@ -232,7 +232,7 @@ function(compileDeviceRTLLibrary target_cpu target_name target_triple)
set(target_feature "")
if("${target_triple}" STREQUAL "nvptx64-nvidia-cuda")
- set(target_feature "feature=+ptx61")
+ set(target_feature "feature=+ptx63")
endif()
# Package the bitcode in the bitcode and embed it in an ELF for the static library
More information about the Openmp-commits
mailing list