aboutsummaryrefslogtreecommitdiff
path: root/offload/include/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'offload/include/device.h')
-rw-r--r--offload/include/device.h3
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; }