Initial support of single GPU rendering when multiple cards with same name exists
This commit is contained in:
@@ -7,6 +7,7 @@ class Context:
|
||||
__slots__ = ('blender',
|
||||
'device_type',
|
||||
'device_name',
|
||||
'device_single',
|
||||
'scenes',
|
||||
'scenes_dir',
|
||||
'configure_script',
|
||||
@@ -19,6 +20,8 @@ class Context:
|
||||
self.device_type = 'CPU'
|
||||
# Name of the device to render on.
|
||||
self.device_name = 'NAME'
|
||||
# Use single device when there are multiple one matching the name
|
||||
self.device_single = False
|
||||
# By default we use empty list, it is up to the user to fill it in.
|
||||
self.scenes = []
|
||||
# It is up to the user to provide proper path to scenes.
|
||||
|
Reference in New Issue
Block a user