Closed tugrul512bit closed 7 years ago
read-only buffers will not be written and write-only buffers will not be read(both in host and kernel side)
setting (read/write)-only field will lock all boolean flags: write,writeAll,read,partialRead.
CL_MEM_HOST_READ_ONLY --> "write_only" CL_MEM_WRITE_ONLY --> "write_only"
CL_MEM_HOST_WRITE_ONLY --> "read_only" CL_MEM_READ_ONLY --> "read_only"
So pci-e may be used even better for device-to-device or load balanced programs.