Liking cljdoc? Tell your friends :D

tvm-clj.bindings.protocols


PByteOffsetcljprotocol

Some buffers you cant offset (opengl, for instance). So buffers have a logical byte-offset that is passed to functions. So we need to get the actual base ptr sometimes.

Some buffers you cant offset (opengl, for instance).
So buffers have a logical byte-offset that is passed to functions.
So we need to get the actual base ptr sometimes.

base-ptrclj

(base-ptr item)

byte-offsetclj

(byte-offset item)
raw docstring

PConvertToNodecljprotocol

->nodeclj

(->node item)

PJVMTypeToTVMValuecljprotocol

Convert something to a [long tvm-value-type] pair

Convert something to a [long tvm-value-type] pair

->tvm-valueclj

(->tvm-value jvm-type)
raw docstring

PToTVMcljprotocol

Convert something to some level of tvm type.

Convert something to some level of tvm type.

->tvmclj

(->tvm item)
raw docstring

PTVMDeviceIdcljprotocol

device-idclj

(device-id item)

PTVMDeviceTypecljprotocol

device-typeclj

(device-type item)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close