[][src]Module dynamic_ocl::buffer::flags

Buffer access and use flags, to allow validity checks to be performed at compile time by the type system.

Structs

AllocHostPtr

Set the CL_MEM_ALLOC_HOST_PTR flag indicating that the buffer should be allocated in host-accessible memory.

DeviceReadOnly

The device may only read the buffer.

DeviceReadWrite

The device may read and write the buffer.

DeviceWriteOnly

The device may only write the buffer.

HostNoAccess

The host may not read or write the buffer once it's been created.

HostReadOnly

The host may only read the buffer once it's been created.

HostReadWrite

The host may read and write the buffer.

HostWriteOnly

The host may only write the buffer once it's been created.

NoFlags

Don't set any special buffer flags.

Traits

BufferFlags

A trait used to specify extra buffer flags.

DeviceAccess

A trait denoting a buffer device accessibility type.

HostAccess

A trait denoting a buffer host accessibility type.

HostReadable

A trait denoting a buffer that may be read by the host.

HostWritable

A trait denoting a buffer that may be written by the host.