Script.load_shared¶
- Script.load_shared(src, *, out=None)¶
Load a shared tensor into a register tensor.
- Parameters:
src (SharedTensor) – The shared tensor to load from.
out (RegisterTensor, optional) – The register tensor to store the loaded data into. If not provided, a new register tensor will be allocated.
- Returns:
ret – The register tensor containing the loaded data from the shared tensor.
- Return type:
Notes
Thread group: Can be executed by any sized thread group.