File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ def cbk(deviceid=0):
270270 for line in lines :
271271 if 'GPU' in line :
272272 # Product
273- pattern = r'GPU\[(\d+)\].*?Card series :\s*(.*?)\s*$'
273+ pattern = r'GPU\[(\d+)\].*?Card [sS]eries :\s*(.*?)\s*$'
274274 match1 = re .match (pattern , line )
275275
276276 if match1 :
@@ -280,7 +280,7 @@ def cbk(deviceid=0):
280280 gpu_infos [gid ]['product' ] = match1 .group (2 )
281281
282282 # Model
283- pattern = r'GPU\[(\d+)\].*?Card model :\s*(.*?)\s*$'
283+ pattern = r'GPU\[(\d+)\].*?Card [mM]odel :\s*(.*?)\s*$'
284284 match2 = re .match (pattern , line )
285285
286286 if match2 :
Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ FROM sdk-base as amdclang
146146# MPI env
147147ENV OMPI_CC="amdclang"
148148ENV OMPI_CXX="amdclang++"
149- ENV MPICC="amdclang"
150149
151150# Devito env
152151ENV DEVITO_ARCH="aomp"
@@ -162,7 +161,6 @@ FROM sdk-base as hip
162161# MPI env
163162ENV OMPI_CC="hipcc"
164163ENV OMPI_CXX="hipcc"
165- ENV MPICC="MPICC"
166164
167165# Devito env
168166ENV DEVITO_ARCH="hip"
You can’t perform that action at this time.
0 commit comments