1 module dcompute.driver.ocl.buffer;
2 
3 import dcompute.driver.ocl;
4 
5 struct Buffer(T)
6 {
7     cl_mem raw;
8 
9     // Host memory associated with this buffer
10     T[] hostMemory;
11     enum CreateType
12     {
13         region =0x1220,
14     }
15     // opSlice clCreateSubBuffer
16 }