Skip to content

Commit

Permalink
Merge pull request #56 from ROCmSoftwarePlatform/bugfix/nvidia-platform
Browse files Browse the repository at this point in the history
Change nvcc platform to "nvidia"
  • Loading branch information
domcharrier authored Apr 26, 2021
2 parents b101f7c + b6ae107 commit b24eb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/hipfc
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ if [ "${HIPFORT_GPU:0:3}" == "sm_" ] ; then
TARGET_ARCH="nvptx"
TARGET_TRIPLE=${TARGET_TRIPLE:-nvptx64-nvidia-cuda}
TARGET_LIBS="-L$CUDA_PATH/targets/x86_64-linux/lib -lcudart"
HIPCC_ENV="HIP_PLATFORM=nvcc"
HIPCC_ENV="HIP_PLATFORM=nvidia"
HIPCC_OPTS="--gpu-architecture=$HIPFORT_GPU -x cu $CUOPTS"
# fixme: add test for minimum cuda version here
else
Expand Down

0 comments on commit b24eb6a

Please sign in to comment.