We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b480cde commit 212a045Copy full SHA for 212a045
1 file changed
devito/types/parallel.py
@@ -275,7 +275,7 @@ class DeviceID(DeviceSymbol):
275
276
name = 'deviceid'
277
278
- @cached_property
+ @property
279
def default_value(self):
280
return -1
281
@@ -286,9 +286,6 @@ def _arg_values(self, **kwargs):
286
return {self.name: configuration['deviceid']}
287
else:
288
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
292
293
294
class DeviceRM(DeviceSymbol):
0 commit comments