Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/device/device_memory.h')
-rw-r--r--intern/cycles/device/device_memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/device/device_memory.h b/intern/cycles/device/device_memory.h
index 453dab9bfb3..2a027917066 100644
--- a/intern/cycles/device/device_memory.h
+++ b/intern/cycles/device/device_memory.h
@@ -197,10 +197,13 @@ public:
Device *device;
device_ptr device_pointer;
void *host_pointer;
+ void *shared_pointer;
virtual ~device_memory();
protected:
+ friend class CUDADevice;
+
/* Only create through subclasses. */
device_memory(Device *device, const char *name, MemoryType type);