Skip to content

Commit b24eb6a

Browse files
authored
Merge pull request #56 from ROCmSoftwarePlatform/bugfix/nvidia-platform
Change nvcc platform to "nvidia"
2 parents b101f7c + b6ae107 commit b24eb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/hipfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ if [ "${HIPFORT_GPU:0:3}" == "sm_" ] ; then
299299
TARGET_ARCH="nvptx"
300300
TARGET_TRIPLE=${TARGET_TRIPLE:-nvptx64-nvidia-cuda}
301301
TARGET_LIBS="-L$CUDA_PATH/targets/x86_64-linux/lib -lcudart"
302-
HIPCC_ENV="HIP_PLATFORM=nvcc"
302+
HIPCC_ENV="HIP_PLATFORM=nvidia"
303303
HIPCC_OPTS="--gpu-architecture=$HIPFORT_GPU -x cu $CUOPTS"
304304
# fixme: add test for minimum cuda version here
305305
else

0 commit comments

Comments
 (0)