Skip to content

Commit 212a045

Browse files
EdCauntmloubout
authored andcommitted
misc: Tidy up
1 parent b480cde commit 212a045

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

devito/types/parallel.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class DeviceID(DeviceSymbol):
275275

276276
name = 'deviceid'
277277

278-
@cached_property
278+
@property
279279
def default_value(self):
280280
return -1
281281

@@ -286,9 +286,6 @@ def _arg_values(self, **kwargs):
286286
return {self.name: configuration['deviceid']}
287287
else:
288288
return {self.name: self.default_value}
289-
# FIXME: This should first check if CUDA_VISIBLE_DEVICES before the final else
290-
# What should this use for multi-GPU runs?
291-
# Possibly in the default_value
292289

293290

294291
class DeviceRM(DeviceSymbol):

0 commit comments

Comments
 (0)