Storage and methods for GPU card data.
Data is held in an external pointer.
new()
cardR6$new(id = 0)
id
GPU id number.
Class initializer.
set()
cardR6$set(id)
id
GPU id number.
Set card to a different GPU.
synch()
cardR6$synch()
Synchronizes the GPU, i.e. blocks further GPU execution until the device completes all previously executed kernels.
info()
cardR6$info()
Print one-line information about the object.
print()
cardR6$print()
Print one-line information about the object.
get_id()
cardR6$get_id()
Returns GPU id number.
valid_card()
cardR6$valid_card()
Returns whether or not the card object is valid.
data_ptr()
cardR6$data_ptr()
Returns the external pointer data. For developers only.
clone()
The objects of this class are cloneable with this method.
cardR6$clone(deep = FALSE)
deep
Whether to make a deep clone.