diff options
Diffstat (limited to 'offload/include/device.h')
-rw-r--r-- | offload/include/device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/offload/include/device.h b/offload/include/device.h index bf93ce0..4e27943 100644 --- a/offload/include/device.h +++ b/offload/include/device.h @@ -158,6 +158,9 @@ struct DeviceTy { /// Ask the device whether the runtime should use auto zero-copy. bool useAutoZeroCopy(); + /// Ask the device whether the storage is accessible. + bool isAccessiblePtr(const void *Ptr, size_t Size); + /// Check if there are pending images for this device. bool hasPendingImages() const { return HasPendingImages; } |