uncomplicate.clojurecuda.internal.protocols

HostMem

protocol

members

host-buffer

(host-buffer this)

The actual ByteBuffer on the host

host-ptr

(host-ptr this)

Host Pointer to this object.

JITOption

protocol

members

put-jit-option

(put-jit-option value option options)

Mem

protocol

An object that represents memory that participates in CUDA operations. It can be on the device, or on the host. Built-in implementations: cuda pointers, Java primitive arrays and ByteBuffers

members

memcpy-host*

(memcpy-host* this host size)(memcpy-host* this host size hstream)

ptr

(ptr this)

Pointer to this object.

size

(size this)

Memory size of this cuda or host object in bytes.

ModuleLoad

protocol

members

module-load*

(module-load* data m)

WithOffset

protocol

members

with-offset

(with-offset this ofst)

Wrappable

protocol

members

wrap

(wrap this)

Wrapper

protocol

members

extract

(extract this)