summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJeff Daily <jeff.daily@amd.com>2020-11-03 09:50:57 -0800
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2020-11-03 09:54:44 -0800
commit9e58c85d08bbc80162231f944b07b0359cee14e3 (patch)
treef7e2794893c738b958b808c94eb84209bf7e464f /docker
parent579cfc6641f1015212056c39c4ab52bc58dd43d3 (diff)
downloadpytorch-9e58c85d08bbc80162231f944b07b0359cee14e3.tar.gz
pytorch-9e58c85d08bbc80162231f944b07b0359cee14e3.tar.bz2
pytorch-9e58c85d08bbc80162231f944b07b0359cee14e3.zip
[ROCm] remove use of HIP_PLATFORM (#47241)
Summary: Fixes deprecated use of the HIP_PLATFORM env var. This env var is no longer needed to be set explicitly. Instead, HIP_PLATFORM is automatically detected by hipcc. Pull Request resolved: https://github.com/pytorch/pytorch/pull/47241 Reviewed By: mruberry Differential Revision: D24699982 Pulled By: ngimel fbshipit-source-id: 9cd2f32e7c0c8d662832b0cbbc2988835a45961a
Diffstat (limited to 'docker')
-rw-r--r--docker/caffe2/jenkins/centos-rocm/Dockerfile1
-rw-r--r--docker/caffe2/jenkins/ubuntu-rocm/Dockerfile1
2 files changed, 0 insertions, 2 deletions
diff --git a/docker/caffe2/jenkins/centos-rocm/Dockerfile b/docker/caffe2/jenkins/centos-rocm/Dockerfile
index 19fdaa176b..5c2dacf304 100644
--- a/docker/caffe2/jenkins/centos-rocm/Dockerfile
+++ b/docker/caffe2/jenkins/centos-rocm/Dockerfile
@@ -33,7 +33,6 @@ ENV PATH /opt/rocm/bin:$PATH
ENV PATH /opt/rocm/hcc/bin:$PATH
ENV PATH /opt/rocm/hip/bin:$PATH
ENV PATH /opt/rocm/opencl/bin:$PATH
-ENV HIP_PLATFORM hcc
ENV LC_ALL en_US.utf8
ENV LANG en_US.utf8
diff --git a/docker/caffe2/jenkins/ubuntu-rocm/Dockerfile b/docker/caffe2/jenkins/ubuntu-rocm/Dockerfile
index dbec35e06c..f6624d077c 100644
--- a/docker/caffe2/jenkins/ubuntu-rocm/Dockerfile
+++ b/docker/caffe2/jenkins/ubuntu-rocm/Dockerfile
@@ -60,7 +60,6 @@ ENV PATH /opt/rocm/bin:$PATH
ENV PATH /opt/rocm/hcc/bin:$PATH
ENV PATH /opt/rocm/hip/bin:$PATH
ENV PATH /opt/rocm/opencl/bin:$PATH
-ENV HIP_PLATFORM hcc
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8