Liking cljdoc? Tell your friends :D

tvm-clj.jna.base


->long-ptrclj

(->long-ptr item)

arg-list->tvm-argsclj

(arg-list->tvm-args args)

call-functionclj

(call-function tvm-fn & args)

check-callcljmacro

(check-call & body)

datatype->dl-datatypeclj

(datatype->dl-datatype datatype & [dtype-retval])

datatype->dl-type-codeclj

(datatype->dl-type-code datatype)

device-id->intclj

(device-id->int item)

device-type->intclj

(device-type->int item)

dl-datatype->datatypeclj

(dl-datatype->datatype dtype)

dl-datatype->mapclj

(dl-datatype->map dtype)

fn-nameclj


get-last-errorclj

(get-last-error)

global-functionclj

(global-function fn-name & args)

global-function-namesclj


int-ptrclj

(int-ptr item)

keyword->tvm-datatypeclj

(keyword->tvm-datatype kwd)

long-ptrclj

(long-ptr item)

make-tvm-jna-fncljmacro

(make-tvm-jna-fn fn-name docstring rettype & argpairs)

TVM functions are very regular so the mapping to them can exploit this. Argpair is of type [symbol type-coersion].

TVM functions are very regular so the mapping to them can exploit this.
Argpair is of type [symbol type-coersion].
raw docstring

name->global-functionclj

(name->global-function fn-name)

ptr-ptrclj

(ptr-ptr item)

tvm-datatype->keywordclj

(tvm-datatype->keyword tvm-datatype)

tvm-datatype->keyword-nothrowclj

(tvm-datatype->keyword-nothrow tvm-datatype)

tvm-value->jvmcljmultimethod

Attempts to coerce the tvm value into the jvm. Failures result in a returned map container a value for the key: :tvm->jvm-failure

This is in order to ensure that, for instance, deserialization of a node's fields allows for a sane recovery mechanism and doesn't lose those field values.

Attempts to coerce the tvm value into the jvm.  Failures
result in a returned map container a value for the key:
:tvm->jvm-failure

This is in order to ensure that, for instance, deserialization of a node's fields
  allows for a sane recovery mechanism and doesn't lose those field values.
raw docstring

TVMFuncCallclj

(TVMFuncCall fn-handle arg_values type_codes num_args ret_val ret_type_code)

Call a tvm function

Call a tvm function
raw docstring

TVMFuncGetGlobalclj

(TVMFuncGetGlobal fn-name fn-ptr)

Get a global function ptr

Get a global function ptr
raw docstring

TVMFuncListGlobalNamesclj

(TVMFuncListGlobalNames num-fns fn-names)

List the global names

List the global names
raw docstring

TVMGetLastErrorclj

(TVMGetLastError)

Get last tvm error as byte ptr

Get last tvm error as byte ptr
raw docstring

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

× close