cl-cuda

API Reference

cl-cuda

Cl-cuda is a library to use NVIDIA CUDA in Common Lisp programs.

CL-CUDA.DRIVER-API

  • Variable *SDK-NOT-FOUND*
    nil
  • Cffi-Type CU-RESULT
  • Cffi-Type CU-DEVICE
  • Cffi-Type CU-CONTEXT
  • Cffi-Type CU-MODULE
  • Cffi-Type CU-FUNCTION
  • Cffi-Type CU-STREAM
  • Cffi-Type CU-EVENT
  • Cffi-Type CU-DEVICE-PTR
  • Cffi-Type SIZE-T
  • Variable CU-EVENT-DEFAULT
    (cffi:foreign-enum-value 'cl-cuda.driver-api::cu-event-flags-enum
                             :cu-event-default)
  • Variable CU-EVENT-BLOCKING-SYNC
    (cffi:foreign-enum-value 'cl-cuda.driver-api::cu-event-flags-enum
                             :cu-event-blocking-sync)
  • Variable CU-EVENT-DISABLE-TIMING
    (cffi:foreign-enum-value 'cl-cuda.driver-api::cu-event-flags-enum
                             :cu-event-disable-timing)
  • Variable CU-EVENT-INTERPROCESS
    (cffi:foreign-enum-value 'cl-cuda.driver-api::cu-event-flags-enum
                             :cu-event-interprocess)
  • Function CU-INIT (flags)
  • Function CU-DEVICE-GET (device ordinal)
  • Function CU-DEVICE-GET-COUNT (count)
  • Function CU-DEVICE-COMPUTE-CAPABILITY (major minor dev)
  • Function CU-DEVICE-GET-NAME (name len dev)
  • Function CU-CTX-CREATE (pctx flags dev)
  • Function CU-CTX-DESTROY (ctx)
  • Function CU-CTX-SYNCHRONIZE
  • Function CU-DEVICE-TOTAL-MEM (bytes dev)
  • Function CU-MEM-ALLOC (dptr bytesize)
  • Function CU-MEM-FREE (dptr)
  • Function CU-MEM-HOST-REGISTER (p byte-size flags)
  • Function CU-MEM-HOST-UNREGISTER (p)
  • Function CU-MEMCPY-HOST-TO-DEVICE (dst-device src-host byte-count)
  • Function CU-MEMCPY-HOST-TO-DEVICE-ASYNC (dst-device src-host byte-count hstream)
  • Function CU-MEMCPY-DEVICE-TO-HOST (dst-host src-device byte-count)
  • Function CU-MEMCPY-DEVICE-TO-HOST-ASYNC (dst-host src-device byte-count hstream)
  • Function CU-MODULE-LOAD (module fname)
  • Function CU-MODULE-UNLOAD (module)
  • Function CU-MODULE-GET-FUNCTION (hfunc hmod name)
  • Function CU-MODULE-GET-GLOBAL (dptr bytes hmod name)
  • Function CU-LAUNCH-KERNEL (f grid-dim-x grid-dim-y grid-dim-z block-dim-x block-dim-y block-dim-z shared-mem-bytes hstream kernel-params extra)
  • Function CU-EVENT-CREATE (phevent flags)
  • Function CU-EVENT-DESTROY (h-event)
  • Function CU-EVENT-ELAPSED-TIME (pmilliseconds hstart hend)
  • Function CU-EVENT-RECORD (hevent hstream)
  • Function CU-EVENT-SYNCHRONIZE (hevent)
  • Function CU-STREAM-CREATE (phstream flags)
  • Function CU-STREAM-DESTROY (hstream)
  • Function CU-STREAM-QUERY (hstream)
  • Function CU-STREAM-SYNCHRONIZE (hstream)
  • Function CU-STREAM-WAIT-EVENT (hstream hevent flags)
  • Variable *SHOW-MESSAGES*
    t

CL-CUDA.LANG.UTIL

  • Function C-IDENTIFIER (symbol &optional package-p)
  • Function LINES (str)
  • Function UNLINES (&rest args)
  • Function INDENT (n str)

CL-CUDA.LANG.DATA

  • Type CL-CUDA-SYMBOL
  • Function CL-CUDA-SYMBOL-P (object)
  • Function CL-CUDA-BOOL-P (object)
  • Function CL-CUDA-INT-P (object)
  • Function CL-CUDA-FLOAT-P (object)
  • Function CL-CUDA-DOUBLE-P (object)
  • Struct FLOAT3
    X
    Y
    Z
  • Function FLOAT3-P (object)
  • Function FLOAT3-X (instance)
  • Function (setf FLOAT3-X) (value instance)
  • Function FLOAT3-Y (instance)
  • Function (setf FLOAT3-Y) (value instance)
  • Function FLOAT3-Z (instance)
  • Function (setf FLOAT3-Z) (value instance)
  • Function MAKE-FLOAT3 (x y z)
  • Function FLOAT3-= (a b)
  • Cffi-Struct FLOAT3
  • Macro WITH-FLOAT3 ((x y z) value &body body)
  • Struct FLOAT4
    X
    Y
    Z
    W
  • Function FLOAT4-P (object)
  • Function FLOAT4-X (instance)
  • Function (setf FLOAT4-X) (value instance)
  • Function FLOAT4-Y (instance)
  • Function (setf FLOAT4-Y) (value instance)
  • Function FLOAT4-Z (instance)
  • Function (setf FLOAT4-Z) (value instance)
  • Function FLOAT4-W (instance)
  • Function (setf FLOAT4-W) (value instance)
  • Function MAKE-FLOAT4 (x y z w)
  • Function FLOAT4-= (a b)
  • Cffi-Struct FLOAT4
  • Macro WITH-FLOAT4 ((x y z w) value &body body)
  • Struct DOUBLE3
    X
    Y
    Z
  • Function DOUBLE3-P (object)
  • Function DOUBLE3-X (instance)
  • Function (setf DOUBLE3-X) (value instance)
  • Function DOUBLE3-Y (instance)
  • Function (setf DOUBLE3-Y) (value instance)
  • Function DOUBLE3-Z (instance)
  • Function (setf DOUBLE3-Z) (value instance)
  • Function MAKE-DOUBLE3 (x y z)
  • Function DOUBLE3-= (a b)
  • Cffi-Struct DOUBLE3
  • Macro WITH-DOUBLE3 ((x y z) value &body body)
  • Struct DOUBLE4
    X
    Y
    Z
    W
  • Function DOUBLE4-P (object)
  • Function DOUBLE4-X (instance)
  • Function (setf DOUBLE4-X) (value instance)
  • Function DOUBLE4-Y (instance)
  • Function (setf DOUBLE4-Y) (value instance)
  • Function DOUBLE4-Z (instance)
  • Function (setf DOUBLE4-Z) (value instance)
  • Function DOUBLE4-W (instance)
  • Function (setf DOUBLE4-W) (value instance)
  • Function MAKE-DOUBLE4 (x y z w)
  • Function DOUBLE4-= (a b)
  • Cffi-Struct DOUBLE4
  • Macro WITH-DOUBLE4 ((x y z w) value &body body)

CL-CUDA.LANG.TYPE

  • Type CL-CUDA-TYPE
  • Function CL-CUDA-TYPE-P (object)
  • Function CFFI-TYPE (type)
  • Function CFFI-TYPE-SIZE (type)
  • Function CUDA-TYPE (type)
  • Function SCALAR-TYPE-P (object)
  • Function STRUCTURE-TYPE-P (object)
  • Function STRUCTURE-ACCESSOR-P (accessor)
  • Function STRUCTURE-FROM-ACCESSOR (accessor)
  • Function STRUCTURE-ACCESSOR-CUDA-ACCESSOR (accessor)
  • Function STRUCTURE-ACCESSOR-RETURN-TYPE (accessor)
  • Function ARRAY-TYPE-P (object)
  • Function ARRAY-TYPE-BASE (type)
  • Function ARRAY-TYPE-DIMENSION (type)
  • Function ARRAY-TYPE (type dimension)

Also exports

  • COMMON-LISP:FLOAT
  • CL-CUDA.LANG.DATA:DOUBLE3
  • CL-CUDA.LANG.DATA:FLOAT3
  • CL-CUDA.LANG.DATA:DOUBLE4
  • CL-CUDA.LANG.DATA:FLOAT4

CL-CUDA.LANG.SYNTAX

  • Function SYMBOL-MACRO-P (form)
  • Function MACRO-P (form)
  • Function MACRO-OPERATOR (form)
  • Function MACRO-OPERANDS (form)
  • Function LITERAL-P (form)
  • Function BOOL-LITERAL-P (form)
  • Function INT-LITERAL-P (form)
  • Function FLOAT-LITERAL-P (form)
  • Function DOUBLE-LITERAL-P (form)
  • Function CUDA-DIMENSION-P (form)
  • Function GRID-DIM-P (form)
  • Function BLOCK-DIM-P (form)
  • Function BLOCK-IDX-P (form)
  • Function THREAD-IDX-P (form)
  • Function REFERENCE-P (form)
  • Function VARIABLE-REFERENCE-P (form)
  • Function STRUCTURE-REFERENCE-P (form)
  • Function STRUCTURE-REFERENCE-ACCESSOR (form)
  • Function STRUCTURE-REFERENCE-EXPR (form)
  • Function ARRAY-REFERENCE-P (form)
  • Function ARRAY-REFERENCE-EXPR (form)
  • Function ARRAY-REFERENCE-INDICES (form)
  • Function INLINE-IF-P (form)
  • Function INLINE-IF-TEST-EXPRESSION (form)
  • Function INLINE-IF-THEN-EXPRESSION (form)
  • Function INLINE-IF-ELSE-EXPRESSION (form)
  • Function CONSTRUCTOR-P (form)
  • Function CONSTRUCTOR-OPERATOR (form)
  • Function CONSTRUCTOR-OPERANDS (form)
  • Function ARITHMETIC-P (form)
  • Function ARITHMETIC-OPERATOR (form)
  • Function ARITHMETIC-OPERANDS (form)
  • Function FUNCTION-P (form)
  • Function FUNCTION-OPERATOR (form)
  • Function FUNCTION-OPERANDS (form)
  • Function IF-P (form)
  • Function IF-TEST-EXPRESSION (form)
  • Function IF-THEN-STATEMENT (form)
  • Function IF-ELSE-STATEMENT (form)
  • Function LET-P (form)
  • Function LET-BINDINGS (form)
  • Function LET-STATEMENTS (form)
  • Function LET-BINDING-P (object)
  • Function LET-BINDING-VAR (binding)
  • Function LET-BINDING-EXPR (binding)
  • Function SYMBOL-MACROLET-P (form)
  • Function SYMBOL-MACROLET-BINDINGS (form)
  • Function SYMBOL-MACROLET-STATEMENTS (form)
  • Function SYMBOL-MACROLET-BINDING-P (object)
  • Function SYMBOL-MACROLET-BINDING-SYMBOL (binding)
  • Function SYMBOL-MACROLET-BINDING-EXPANSION (binding)
  • Function DO-P (form)
  • Function DO-BINDINGS (form)
  • Function DO-END-TEST (form)
  • Function DO-STATEMENTS (form)
  • Function DO-BINDING-P (object)
  • Function DO-BINDING-VAR (binding)
  • Function DO-BINDING-INIT (binding)
  • Function DO-BINDING-STEP (binding)
  • Function WITH-SHARED-MEMORY-P (object)
  • Function WITH-SHARED-MEMORY-SPECS (form)
  • Function WITH-SHARED-MEMORY-STATEMENTS (form)
  • Function WITH-SHARED-MEMORY-SPEC-P (object)
  • Function WITH-SHARED-MEMORY-SPEC-VAR (spec)
  • Function WITH-SHARED-MEMORY-SPEC-TYPE (spec)
  • Function WITH-SHARED-MEMORY-SPEC-DIMENSIONS (spec)
  • Function SET-P (object)
  • Function SET-REFERENCE (form)
  • Function SET-EXPRESSION (form)
  • Function PROGN-P (object)
  • Function PROGN-STATEMENTS (form)
  • Function RETURN-P (object)
  • Function RETURN-EXPR (form)
  • Type ARGUMENT
  • Function ARGUMENT-P (object)
  • Function ARGUMENT-VAR (argument)
  • Function ARGUMENT-TYPE (argument)

Also exports

  • COMMON-LISP:SET

CL-CUDA.LANG.ENVIRONMENT

  • Function EMPTY-VARIABLE-ENVIRONMENT
  • Function VARIABLE-ENVIRONMENT-ADD-VARIABLE (name type var-env)
  • Function VARIABLE-ENVIRONMENT-VARIABLE-EXISTS-P (var-env name)
  • Function VARIABLE-ENVIRONMENT-VARIABLE-NAME (var-env name)
  • Function VARIABLE-ENVIRONMENT-VARIABLE-TYPE (var-env name)
  • Function VARIABLE-ENVIRONMENT-ADD-SYMBOL-MACRO (name expansion var-env)
  • Function VARIABLE-ENVIRONMENT-SYMBOL-MACRO-EXISTS-P (var-env name)
  • Function VARIABLE-ENVIRONMENT-SYMBOL-MACRO-NAME (var-env name)
  • Function VARIABLE-ENVIRONMENT-SYMBOL-MACRO-EXPANSION (var-env name)
  • Function VARIABLE-ENVIRONMENT-ADD-GLOBAL (name type expression var-env)
  • Function VARIABLE-ENVIRONMENT-GLOBAL-EXISTS-P (var-env name)
  • Function VARIABLE-ENVIRONMENT-GLOBAL-NAME (var-env name)
  • Function VARIABLE-ENVIRONMENT-GLOBAL-C-NAME (var-env name)
  • Function VARIABLE-ENVIRONMENT-GLOBAL-TYPE (var-env name)
  • Function VARIABLE-ENVIRONMENT-GLOBAL-INITIALIZER (var-env name)
  • Function EMPTY-FUNCTION-ENVIRONMENT
  • Function FUNCTION-ENVIRONMENT-ADD-FUNCTION (name return-type argument-types func-env)
  • Function FUNCTION-ENVIRONMENT-FUNCTION-EXISTS-P (func-env name)
  • Function FUNCTION-ENVIRONMENT-FUNCTION-NAME (func-env name)
  • Function FUNCTION-ENVIRONMENT-FUNCTION-C-NAME (func-env name)
  • Function FUNCTION-ENVIRONMENT-FUNCTION-RETURN-TYPE (func-env name)
  • Function FUNCTION-ENVIRONMENT-FUNCTION-ARGUMENT-TYPES (func-env name)
  • Function FUNCTION-ENVIRONMENT-ADD-MACRO (name arguments body func-env)
  • Function FUNCTION-ENVIRONMENT-MACRO-EXISTS-P (func-env name)
  • Function FUNCTION-ENVIRONMENT-MACRO-NAME (func-env name)
  • Function FUNCTION-ENVIRONMENT-MACRO-EXPANDER (func-env name)

CL-CUDA.LANG.BUILT-IN

  • Function BUILT-IN-FUNCTION-RETURN-TYPE (name argument-types)
  • Function BUILT-IN-FUNCTION-INFIX-P (name argument-types)
  • Function BUILT-IN-FUNCTION-C-NAME (name argument-types)

CL-CUDA.LANG.KERNEL

  • Function MAKE-KERNEL
  • Function KERNEL-FUNCTION-NAMES (kernel)
  • Function KERNEL-MACRO-NAMES (kernel)
  • Function KERNEL-SYMBOL-MACRO-NAMES (kernel)
  • Function KERNEL-GLOBAL-NAMES (kernel)
  • Function KERNEL-DEFINE-FUNCTION (kernel name return-type arguments body)
  • Function KERNEL-FUNCTION-EXISTS-P (kernel name)
  • Function KERNEL-FUNCTION-NAME (kernel name)
  • Function KERNEL-FUNCTION-C-NAME (kernel name)
  • Function KERNEL-FUNCTION-RETURN-TYPE (kernel name)
  • Function KERNEL-FUNCTION-ARGUMENTS (kernel name)
  • Function KERNEL-FUNCTION-ARGUMENT-VARS (kernel name)
  • Function KERNEL-FUNCTION-ARGUMENT-TYPES (kernel name)
  • Function KERNEL-FUNCTION-BODY (kernel name)
  • Function KERNEL-DEFINE-MACRO (kernel name arguments body)
  • Function KERNEL-MACRO-EXISTS-P (kernel name)
  • Function KERNEL-MACRO-NAME (kernel name)
  • Function KERNEL-MACRO-ARGUMENTS (kernel name)
  • Function KERNEL-MACRO-BODY (kernel name)
  • Function KERNEL-MACRO-EXPANDER (kernel name)
  • Function EXPAND-MACRO-1 (form kernel)
  • Function EXPAND-MACRO (form kernel)
  • Function KERNEL-DEFINE-SYMBOL-MACRO (kernel name expansion)
  • Function KERNEL-SYMBOL-MACRO-EXISTS-P (kernel name)
  • Function KERNEL-SYMBOL-MACRO-NAME (kernel name)
  • Function KERNEL-SYMBOL-MACRO-EXPANSION (kernel name)
  • Function KERNEL-DEFINE-GLOBAL (kernel name qualifiers expression)
  • Function KERNEL-GLOBAL-EXISTS-P (kernel name)
  • Function KERNEL-GLOBAL-NAME (kernel name)
  • Function KERNEL-GLOBAL-C-NAME (kernel name)
  • Function KERNEL-GLOBAL-QUALIFIERS (kernel name)
  • Function KERNEL-GLOBAL-INITIALIZER (kernel name)

CL-CUDA.LANG.COMPILER.COMPILE-DATA

  • Function COMPILE-SYMBOL (expr)
  • Function COMPILE-BOOL (expr)
  • Function COMPILE-INT (expr)
  • Function COMPILE-FLOAT (expr)
  • Function COMPILE-DOUBLE (expr)

CL-CUDA.LANG.COMPILER.COMPILE-TYPE

  • Function COMPILE-TYPE (type)

CL-CUDA.LANG.COMPILER.TYPE-OF-EXPRESSION

  • Function TYPE-OF-EXPRESSION (form var-env func-env)

CL-CUDA.LANG.COMPILER.COMPILE-EXPRESSION

  • Function COMPILE-EXPRESSION (form var-env func-env &optional initializer-p)

CL-CUDA.LANG.COMPILER.COMPILE-STATEMENT

  • Function COMPILE-STATEMENT (form var-env func-env)

CL-CUDA.LANG.COMPILER.COMPILE-KERNEL

  • Function COMPILE-KERNEL (kernel)

CL-CUDA.LANG

No exported symbols.

Also exports

  • CL-CUDA.LANG.DATA:FLOAT3
  • CL-CUDA.LANG.TYPE:INT
  • CL-CUDA.LANG.TYPE:BOOL*
  • CL-CUDA.LANG.BUILT-IN:SHR
  • CL-CUDA.LANG.BUILT-IN:DOT
  • CL-CUDA.LANG.SYNTAX:BLOCK-DIM-Y
  • CL-CUDA.LANG.BUILT-IN:SYNCTHREADS
  • CL-CUDA.LANG.DATA:MAKE-FLOAT4
  • CL-CUDA.LANG.DATA:MAKE-DOUBLE3
  • CL-CUDA.LANG.DATA:MAKE-FLOAT3
  • CL-CUDA.LANG.DATA:DOUBLE4
  • CL-CUDA.LANG.DATA:FLOAT4-W
  • CL-CUDA.LANG.SYNTAX:THREAD-IDX-X
  • CL-CUDA.LANG.DATA:FLOAT3-=
  • CL-CUDA.LANG.DATA:DOUBLE4-X
  • CL-CUDA.LANG.DATA:FLOAT4
  • CL-CUDA.LANG.TYPE:CFFI-TYPE
  • CL-CUDA.LANG.SYNTAX:GRID-DIM-X
  • CL-CUDA.LANG.TYPE:DOUBLE*
  • CL-CUDA.LANG.DATA:DOUBLE3-=
  • CL-CUDA.LANG.DATA:DOUBLE3-Z
  • CL-CUDA.LANG.BUILT-IN:SHL
  • CL-CUDA.LANG.BUILT-IN:CURAND-NORMAL-DOUBLE-XORWOW
  • CL-CUDA.LANG.BUILT-IN:__EXP
  • CL-CUDA.LANG.BUILT-IN:RSQRT
  • CL-CUDA.LANG.BUILT-IN:__DIVIDE
  • CL-CUDA.LANG.SYNTAX:GRID-DIM-Y
  • CL-CUDA.LANG.TYPE:DOUBLE3*
  • CL-CUDA.LANG.DATA:FLOAT4-P
  • CL-CUDA.LANG.DATA:FLOAT4-=
  • CL-CUDA.LANG.DATA:DOUBLE3-Y
  • CL-CUDA.LANG.DATA:DOUBLE4-=
  • CL-CUDA.LANG.DATA:DOUBLE4-W
  • CL-CUDA.LANG.BUILT-IN:CURAND-NORMAL-FLOAT-XORWOW
  • CL-CUDA.LANG.DATA:MAKE-DOUBLE4
  • CL-CUDA.LANG.DATA:DOUBLE3-P
  • CL-CUDA.LANG.BUILT-IN:POINTER
  • CL-CUDA.LANG.TYPE:BOOL
  • CL-CUDA.LANG.BUILT-IN:CURAND-UNIFORM-DOUBLE-XORWOW
  • CL-CUDA.LANG.SYNTAX:BLOCK-IDX-X
  • COMMON-LISP:SET
  • CL-CUDA.LANG.TYPE:FLOAT3*
  • CL-CUDA.LANG.DATA:DOUBLE3-X
  • CL-CUDA.LANG.SYNTAX:BLOCK-DIM-X
  • CL-CUDA.LANG.DATA:FLOAT3-Z
  • CL-CUDA.LANG.SYNTAX:WITH-SHARED-MEMORY
  • CL-CUDA.LANG.TYPE:FLOAT*
  • CL-CUDA.LANG.DATA:DOUBLE4-P
  • CL-CUDA.LANG.DATA:DOUBLE4-Y
  • CL-CUDA.LANG.SYNTAX:BLOCK-DIM-Z
  • CL-CUDA.LANG.DATA:WITH-FLOAT3
  • CL-CUDA.LANG.TYPE:CURAND-STATE-XORWOW*
  • CL-CUDA.LANG.TYPE:DOUBLE4*
  • CL-CUDA.LANG.SYNTAX:BLOCK-IDX-Y
  • CL-CUDA.LANG.DATA:FLOAT3-X
  • CL-CUDA.LANG.DATA:WITH-DOUBLE3
  • CL-CUDA.LANG.SYNTAX:THREAD-IDX-Y
  • CL-CUDA.LANG.DATA:WITH-DOUBLE4
  • CL-CUDA.LANG.DATA:FLOAT4-Z
  • CL-CUDA.LANG.DATA:FLOAT4-X
  • COMMON-LISP:FLOAT
  • CL-CUDA.LANG.TYPE:CURAND-STATE-XORWOW
  • CL-CUDA.LANG.BUILT-IN:DOUBLE-TO-INT-RN
  • CL-CUDA.LANG.BUILT-IN:CURAND-UNIFORM-FLOAT-XORWOW
  • CL-CUDA.LANG.BUILT-IN:XOR
  • CL-CUDA.LANG.DATA:DOUBLE4-Z
  • CL-CUDA.LANG.DATA:FLOAT3-P
  • CL-CUDA.LANG.TYPE:INT*
  • CL-CUDA.LANG.DATA:DOUBLE3
  • CL-CUDA.LANG.DATA:FLOAT4-Y
  • CL-CUDA.LANG.TYPE:VOID
  • CL-CUDA.LANG.SYNTAX:GRID-DIM-Z
  • CL-CUDA.LANG.SYNTAX:BLOCK-IDX-Z
  • CL-CUDA.LANG.TYPE:DOUBLE
  • CL-CUDA.LANG.TYPE:FLOAT4*
  • CL-CUDA.LANG.BUILT-IN:ATOMIC-ADD
  • CL-CUDA.LANG.SYNTAX:THREAD-IDX-Z
  • CL-CUDA.LANG.DATA:FLOAT3-Y
  • CL-CUDA.LANG.DATA:WITH-FLOAT4
  • CL-CUDA.LANG.BUILT-IN:CURAND-INIT-XORWOW

CL-CUDA.API.NVCC

  • Variable *TMP-PATH*
    (make-pathname :directory "tmp")
  • Variable *NVCC-OPTIONS*
    nil
  • Function NVCC-COMPILE (cuda-code)
  • Variable *NVCC-BINARY*
    "nvcc"
    Set this to an absolute path if your lisp doesn't search PATH.

CL-CUDA.API.KERNEL-MANAGER

  • Struct KERNEL-MANAGER
    MODULE-PATH
    MODULE-HANDLE
    %FUNCTION-HANDLES
    %GLOBAL-DEVICE-PTRS
    KERNEL
  • Function KERNEL-MANAGER-MODULE-HANDLE (instance)
  • Function (setf KERNEL-MANAGER-MODULE-HANDLE) (value instance)
  • Function MAKE-KERNEL-MANAGER
  • Function KERNEL-MANAGER-COMPILED-P (manager)
  • Function KERNEL-MANAGER-FUNCTION-HANDLES-EMPTY-P (manager)
  • Function KERNEL-MANAGER-FUNCTION-HANDLE (manager name)
  • Function KERNEL-MANAGER-GLOBAL-DEVICE-PTRS-EMPTY-P (manager)
  • Function KERNEL-MANAGER-GLOBAL-DEVICE-PTR (manager name)
  • Function KERNEL-MANAGER-GLOBAL-QUALIFIERS (manager name)
  • Function KERNEL-MANAGER-DEFINE-FUNCTION (manager name return-type arguments body)
  • Function KERNEL-MANAGER-DEFINE-MACRO (manager name arguments body)
  • Function KERNEL-MANAGER-DEFINE-SYMBOL-MACRO (manager name expansion)
  • Function KERNEL-MANAGER-DEFINE-GLOBAL (manager name qualifiers &optional expression)
  • Function KERNEL-MANAGER-COMPILE-MODULE (manager)
  • Function KERNEL-MANAGER-LOAD-MODULE (manager)
  • Function KERNEL-MANAGER-LOAD-FUNCTION (manager name)
  • Function KERNEL-MANAGER-LOAD-GLOBAL (manager name)
  • Function KERNEL-MANAGER-UNLOAD (manager)
  • Function ENSURE-KERNEL-MODULE-COMPILED (manager)
  • Function ENSURE-KERNEL-MODULE-LOADED (manager)
  • Function ENSURE-KERNEL-FUNCTION-LOADED (manager name)
  • Function ENSURE-KERNEL-GLOBAL-LOADED (manager name)
  • Function EXPAND-MACRO-1 (form manager)
  • Function EXPAND-MACRO (form manager)
  • Variable *KERNEL-MANAGER*
    (cl-cuda.api.kernel-manager:make-kernel-manager)

CL-CUDA.API.MEMORY

  • Function ALLOC-DEVICE-MEMORY (type n)
  • Function FREE-DEVICE-MEMORY (device-ptr)
  • Macro WITH-DEVICE-MEMORY ((var type n) &body body)
  • Function DEVICE-TOTAL-BYTES (device)
  • Function DEVICE-TOTAL-KBYTES (device)
  • Function DEVICE-TOTAL-MBYTES (device)
  • Function DEVICE-TOTAL-GBYTES (device)
  • Function ALLOC-HOST-MEMORY (type n)
  • Function FREE-HOST-MEMORY (host-ptr)
  • Macro WITH-HOST-MEMORY ((var type n) &body body)
  • Function HOST-MEMORY-AREF (host-ptr type index)
  • Function (setf HOST-MEMORY-AREF) (new-value host-ptr type index)
  • Function MEMCPY-HOST-TO-DEVICE (device-ptr host-ptr type n)
  • Function MEMCPY-DEVICE-TO-HOST (host-ptr device-ptr type n)
  • Function MEMORY-BLOCK-P (object)
  • Function MEMORY-BLOCK-DEVICE-PTR (instance)
  • Function MEMORY-BLOCK-HOST-PTR (instance)
  • Function MEMORY-BLOCK-TYPE (instance)
  • Function MEMORY-BLOCK-SIZE (instance)
  • Function ALLOC-MEMORY-BLOCK (type size)
  • Function FREE-MEMORY-BLOCK (memory-block)
  • Macro WITH-MEMORY-BLOCK ((var type size) &body body)
  • Macro WITH-MEMORY-BLOCKS (bindings &body body)
  • Function SYNC-MEMORY-BLOCK (memory-block direction)
  • Function MEMORY-BLOCK-AREF (memory-block index)
  • Function (setf MEMORY-BLOCK-AREF) (new-value memory-block index)

CL-CUDA.API.CONTEXT

  • Function INIT-CUDA
  • Function GET-CUDA-DEVICE (dev-id)
  • Function DEVICE-COMPUTE-CAPABILITY (device)
  • Function CREATE-CUDA-CONTEXT (device)
  • Function DESTROY-CUDA-CONTEXT (context)
  • Function SYNCHRONIZE-CONTEXT
  • Variable *CUDA-DEVICE*
  • Variable *CUDA-CONTEXT*
  • Macro WITH-CUDA ((dev-id) &body body)
  • Variable *CUDA-STREAM*
    (cffi-sys:null-pointer)

CL-CUDA.API.DEFKERNEL

  • Macro DEFKERNEL (name (return-type arguments) &body body)
  • Macro DEFKERNELMACRO (name arguments &body body)
  • Function EXPAND-MACRO-1 (form)
  • Function EXPAND-MACRO (form)
  • Macro DEFKERNEL-SYMBOL-MACRO (name expansion)
  • Macro DEFGLOBAL (name expression &optional qualifiers)
  • Function GLOBAL-REF (name type &optional (manager *kernel-manager*))
  • Function (setf GLOBAL-REF) (value name type &optional (manager *kernel-manager*))

CL-CUDA.API.MACRO

No exported symbols.

Also exports

  • COMMON-LISP:WHEN
  • COMMON-LISP:UNLESS
  • COMMON-LISP:LET*

CL-CUDA.API.TIMER

  • Function CREATE-TIMER
  • Function DESTROY-TIMER (timer)
  • Function START-TIMER (timer)
  • Function STOP-TIMER (timer)
  • Function SYNCHRONIZE-TIMER (timer)
  • Function ELAPSED-TIME (timer)
  • Macro WITH-TIMER ((var) &body body)

CL-CUDA.API

No exported symbols.

Also exports

  • CL-CUDA.API.DEFKERNEL:DEFKERNEL-SYMBOL-MACRO
  • CL-CUDA.API.TIMER:DESTROY-TIMER
  • CL-CUDA.API.DEFKERNEL:DEFKERNEL
  • CL-CUDA.API.CONTEXT:CREATE-CUDA-CONTEXT
  • CL-CUDA.API.DEFKERNEL:GLOBAL-REF
  • CL-CUDA.API.MEMORY:WITH-HOST-MEMORY
  • CL-CUDA.API.CONTEXT:SYNCHRONIZE-CONTEXT
  • CL-CUDA.API.TIMER:ELAPSED-TIME
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-MBYTES
  • CL-CUDA.API.MEMORY:ALLOC-HOST-MEMORY
  • CL-CUDA.API.MEMORY:FREE-MEMORY-BLOCK
  • CL-CUDA.API.CONTEXT:GET-CUDA-DEVICE
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-BYTES
  • COMMON-LISP:WHEN
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-KBYTES
  • CL-CUDA.API.MEMORY:SYNC-MEMORY-BLOCK
  • CL-CUDA.API.CONTEXT:DEVICE-COMPUTE-CAPABILITY
  • CL-CUDA.API.MEMORY:FREE-DEVICE-MEMORY
  • CL-CUDA.API.MEMORY:MEMCPY-DEVICE-TO-HOST
  • CL-CUDA.API.CONTEXT:INIT-CUDA
  • CL-CUDA.API.TIMER:CREATE-TIMER
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-HOST-PTR
  • CL-CUDA.API.TIMER:STOP-TIMER
  • COMMON-LISP:LET*
  • CL-CUDA.API.DEFKERNEL:DEFGLOBAL
  • CL-CUDA.API.DEFKERNEL:EXPAND-MACRO-1
  • CL-CUDA.API.NVCC:*NVCC-OPTIONS*
  • CL-CUDA.API.MEMORY:WITH-DEVICE-MEMORY
  • CL-CUDA.API.DEFKERNEL:EXPAND-MACRO
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-P
  • CL-CUDA.API.MEMORY:HOST-MEMORY-AREF
  • CL-CUDA.API.TIMER:WITH-TIMER
  • CL-CUDA.API.NVCC:*TMP-PATH*
  • CL-CUDA.API.CONTEXT:DESTROY-CUDA-CONTEXT
  • CL-CUDA.API.CONTEXT:*CUDA-CONTEXT*
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-DEVICE-PTR
  • CL-CUDA.API.MEMORY:ALLOC-DEVICE-MEMORY
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-SIZE
  • COMMON-LISP:UNLESS
  • CL-CUDA.API.DEFKERNEL:DEFKERNELMACRO
  • CL-CUDA.API.TIMER:SYNCHRONIZE-TIMER
  • CL-CUDA.API.MEMORY:ALLOC-MEMORY-BLOCK
  • CL-CUDA.API.MEMORY:WITH-MEMORY-BLOCK
  • CL-CUDA.API.MEMORY:MEMCPY-HOST-TO-DEVICE
  • CL-CUDA.API.TIMER:START-TIMER
  • CL-CUDA.API.MEMORY:FREE-HOST-MEMORY
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-TYPE
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-GBYTES
  • CL-CUDA.API.NVCC:*NVCC-BINARY*
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-AREF
  • CL-CUDA.API.CONTEXT:WITH-CUDA
  • CL-CUDA.API.MEMORY:WITH-MEMORY-BLOCKS
  • CL-CUDA.API.CONTEXT:*CUDA-STREAM*
  • CL-CUDA.API.CONTEXT:*CUDA-DEVICE*

CL-CUDA

No exported symbols.

Also exports

  • CL-CUDA.LANG.DATA:DOUBLE4-W
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-P
  • CL-CUDA.LANG.DATA:DOUBLE3-P
  • CL-CUDA.API.CONTEXT:*CUDA-STREAM*
  • CL-CUDA.LANG.TYPE:CFFI-TYPE
  • CL-CUDA.API.TIMER:ELAPSED-TIME
  • CL-CUDA.LANG.DATA:FLOAT4-=
  • CL-CUDA.DRIVER-API:*SHOW-MESSAGES*
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-KBYTES
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-AREF
  • CL-CUDA.LANG.BUILT-IN:CURAND-NORMAL-FLOAT-XORWOW
  • CL-CUDA.API.CONTEXT:*CUDA-DEVICE*
  • CL-CUDA.LANG.SYNTAX:BLOCK-DIM-Z
  • CL-CUDA.LANG.DATA:FLOAT3-Z
  • CL-CUDA.LANG.BUILT-IN:CURAND-NORMAL-DOUBLE-XORWOW
  • CL-CUDA.LANG.TYPE:FLOAT*
  • CL-CUDA.LANG.DATA:FLOAT3-P
  • CL-CUDA.LANG.BUILT-IN:__DIVIDE
  • CL-CUDA.API.MEMORY:ALLOC-DEVICE-MEMORY
  • CL-CUDA.LANG.SYNTAX:GRID-DIM-Y
  • CL-CUDA.LANG.DATA:FLOAT4-Y
  • CL-CUDA.LANG.DATA:DOUBLE4-X
  • CL-CUDA.LANG.TYPE:BOOL
  • CL-CUDA.API.MEMORY:WITH-HOST-MEMORY
  • CL-CUDA.API.MEMORY:FREE-DEVICE-MEMORY
  • CL-CUDA.LANG.TYPE:CURAND-STATE-XORWOW*
  • CL-CUDA.API.DEFKERNEL:DEFKERNELMACRO
  • CL-CUDA.API.CONTEXT:CREATE-CUDA-CONTEXT
  • CL-CUDA.LANG.SYNTAX:THREAD-IDX-Z
  • COMMON-LISP:SET
  • CL-CUDA.LANG.SYNTAX:BLOCK-IDX-Y
  • CL-CUDA.LANG.DATA:FLOAT4
  • CL-CUDA.API.MEMORY:HOST-MEMORY-AREF
  • CL-CUDA.API.CONTEXT:*CUDA-CONTEXT*
  • CL-CUDA.LANG.DATA:DOUBLE4-=
  • CL-CUDA.LANG.DATA:DOUBLE3-=
  • CL-CUDA.LANG.DATA:FLOAT3
  • COMMON-LISP:FLOAT
  • CL-CUDA.LANG.BUILT-IN:CURAND-UNIFORM-FLOAT-XORWOW
  • CL-CUDA.API.DEFKERNEL:EXPAND-MACRO
  • CL-CUDA.API.MEMORY:WITH-MEMORY-BLOCK
  • CL-CUDA.LANG.SYNTAX:BLOCK-IDX-X
  • CL-CUDA.LANG.TYPE:DOUBLE*
  • COMMON-LISP:UNLESS
  • CL-CUDA.LANG.DATA:DOUBLE3-Z
  • CL-CUDA.LANG.TYPE:INT*
  • CL-CUDA.LANG.DATA:DOUBLE4-P
  • CL-CUDA.API.MEMORY:WITH-DEVICE-MEMORY
  • CL-CUDA.LANG.BUILT-IN:XOR
  • CL-CUDA.LANG.DATA:MAKE-DOUBLE4
  • CL-CUDA.API.TIMER:STOP-TIMER
  • CL-CUDA.LANG.BUILT-IN:SYNCTHREADS
  • CL-CUDA.LANG.SYNTAX:THREAD-IDX-Y
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-SIZE
  • CL-CUDA.API.MEMORY:SYNC-MEMORY-BLOCK
  • CL-CUDA.API.TIMER:START-TIMER
  • CL-CUDA.LANG.TYPE:VOID
  • CL-CUDA.LANG.DATA:WITH-DOUBLE4
  • CL-CUDA.LANG.BUILT-IN:DOUBLE-TO-INT-RN
  • CL-CUDA.API.CONTEXT:INIT-CUDA
  • CL-CUDA.LANG.TYPE:FLOAT4*
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-BYTES
  • CL-CUDA.API.NVCC:*TMP-PATH*
  • CL-CUDA.API.NVCC:*NVCC-BINARY*
  • CL-CUDA.API.NVCC:*NVCC-OPTIONS*
  • CL-CUDA.LANG.TYPE:BOOL*
  • CL-CUDA.API.CONTEXT:DEVICE-COMPUTE-CAPABILITY
  • CL-CUDA.LANG.DATA:WITH-FLOAT4
  • CL-CUDA.API.DEFKERNEL:DEFGLOBAL
  • CL-CUDA.LANG.TYPE:DOUBLE3*
  • CL-CUDA.LANG.BUILT-IN:POINTER
  • CL-CUDA.API.MEMORY:FREE-MEMORY-BLOCK
  • CL-CUDA.LANG.DATA:FLOAT3-Y
  • CL-CUDA.LANG.DATA:FLOAT4-P
  • CL-CUDA.LANG.DATA:FLOAT4-W
  • CL-CUDA.API.CONTEXT:SYNCHRONIZE-CONTEXT
  • CL-CUDA.LANG.DATA:DOUBLE3-Y
  • CL-CUDA.API.MEMORY:ALLOC-HOST-MEMORY
  • CL-CUDA.LANG.SYNTAX:THREAD-IDX-X
  • CL-CUDA.API.MEMORY:MEMCPY-DEVICE-TO-HOST
  • CL-CUDA.API.MEMORY:MEMCPY-HOST-TO-DEVICE
  • CL-CUDA.API.CONTEXT:GET-CUDA-DEVICE
  • CL-CUDA.API.CONTEXT:WITH-CUDA
  • CL-CUDA.LANG.BUILT-IN:__EXP
  • CL-CUDA.LANG.SYNTAX:WITH-SHARED-MEMORY
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-MBYTES
  • CL-CUDA.LANG.DATA:MAKE-FLOAT4
  • CL-CUDA.API.TIMER:CREATE-TIMER
  • CL-CUDA.LANG.BUILT-IN:ATOMIC-ADD
  • CL-CUDA.LANG.DATA:MAKE-FLOAT3
  • CL-CUDA.API.DEFKERNEL:DEFKERNEL
  • CL-CUDA.LANG.TYPE:CURAND-STATE-XORWOW
  • CL-CUDA.LANG.DATA:DOUBLE3
  • CL-CUDA.LANG.TYPE:DOUBLE4*
  • CL-CUDA.LANG.DATA:FLOAT4-X
  • CL-CUDA.API.MEMORY:FREE-HOST-MEMORY
  • CL-CUDA.LANG.DATA:DOUBLE4-Y
  • CL-CUDA.LANG.BUILT-IN:SHL
  • CL-CUDA.DRIVER-API:*SDK-NOT-FOUND*
  • CL-CUDA.API.MEMORY:ALLOC-MEMORY-BLOCK
  • CL-CUDA.LANG.BUILT-IN:DOT
  • CL-CUDA.API.DEFKERNEL:GLOBAL-REF
  • CL-CUDA.LANG.TYPE:DOUBLE
  • CL-CUDA.LANG.SYNTAX:GRID-DIM-Z
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-GBYTES
  • CL-CUDA.LANG.BUILT-IN:CURAND-INIT-XORWOW
  • CL-CUDA.LANG.DATA:DOUBLE3-X
  • CL-CUDA.API.TIMER:DESTROY-TIMER
  • CL-CUDA.LANG.DATA:FLOAT3-X
  • CL-CUDA.LANG.SYNTAX:BLOCK-IDX-Z
  • CL-CUDA.API.TIMER:WITH-TIMER
  • CL-CUDA.LANG.DATA:FLOAT4-Z
  • CL-CUDA.LANG.DATA:WITH-DOUBLE3
  • CL-CUDA.LANG.DATA:DOUBLE4
  • CL-CUDA.API.MEMORY:WITH-MEMORY-BLOCKS
  • CL-CUDA.LANG.DATA:MAKE-DOUBLE3
  • CL-CUDA.API.CONTEXT:DESTROY-CUDA-CONTEXT
  • CL-CUDA.LANG.SYNTAX:BLOCK-DIM-X
  • COMMON-LISP:LET*
  • CL-CUDA.LANG.DATA:WITH-FLOAT3
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-HOST-PTR
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-TYPE
  • CL-CUDA.API.MEMORY:MEMORY-BLOCK-DEVICE-PTR
  • CL-CUDA.LANG.DATA:DOUBLE4-Z
  • CL-CUDA.LANG.TYPE:FLOAT3*
  • COMMON-LISP:WHEN
  • CL-CUDA.LANG.BUILT-IN:CURAND-UNIFORM-DOUBLE-XORWOW
  • CL-CUDA.LANG.BUILT-IN:RSQRT
  • CL-CUDA.API.TIMER:SYNCHRONIZE-TIMER
  • CL-CUDA.LANG.BUILT-IN:SHR
  • CL-CUDA.LANG.DATA:FLOAT3-=
  • CL-CUDA.LANG.SYNTAX:BLOCK-DIM-Y
  • CL-CUDA.API.DEFKERNEL:EXPAND-MACRO-1
  • CL-CUDA.LANG.TYPE:INT
  • CL-CUDA.API.DEFKERNEL:DEFKERNEL-SYMBOL-MACRO
  • CL-CUDA.LANG.SYNTAX:GRID-DIM-X

cl-cuda-interop

Cl-cuda with OpenGL interoperability.

CL-CUDA-INTEROP.DRIVER-API

  • Cffi-Type CU-GRAPHICS-RESOURCE
  • Cffi-Enum CU-GRAPHICS-REGISTER-FLAGS
  • Variable CU-GRAPHICS-REGISTER-FLAGS-NONE
    (cffi:foreign-enum-value 'cl-cuda-interop.driver-api:cu-graphics-register-flags
                             :cu-graphics-register-flags-none)
  • Variable CU-GRAPHICS-REGISTER-FLAGS-READ-ONLY
    (cffi:foreign-enum-value 'cl-cuda-interop.driver-api:cu-graphics-register-flags
                             :cu-graphics-register-flags-read-only)
  • Variable CU-GRAPHICS-REGISTER-FLAGS-WRITE-DISCARD
    (cffi:foreign-enum-value 'cl-cuda-interop.driver-api:cu-graphics-register-flags
                             :cu-graphics-register-flags-write-discard)
  • Variable CU-GRAPHICS-REGISTER-FLAGS-SURFACE-LDST
    (cffi:foreign-enum-value 'cl-cuda-interop.driver-api:cu-graphics-register-flags
                             :cu-graphics-register-flags-surface-ldst)
  • Variable CU-GRAPHICS-REGISTER-FLAGS-TEXTURE-GATHER
    (cffi:foreign-enum-value 'cl-cuda-interop.driver-api:cu-graphics-register-flags
                             :cu-graphics-register-flags-texture-gather)
  • Cffi-Enum CU-GRAPHICS-MAP-RESOURCE-FLAGS
  • Variable CU-GRAPHICS-MAP-RESOURCE-FLAGS-NONE
    (cffi:foreign-enum-value
     'cl-cuda-interop.driver-api:cu-graphics-map-resource-flags
     :cu-graphics-map-resource-flags-none)
  • Variable CU-GRAPHICS-MAP-RESOURCE-FLAGS-READ-ONLY
    (cffi:foreign-enum-value
     'cl-cuda-interop.driver-api:cu-graphics-map-resource-flags
     :cu-graphics-map-resource-flags-read-only)
  • Variable CU-GRAPHICS-MAP-RESOURCE-FLAGS-WRITE-DISCARD
    (cffi:foreign-enum-value
     'cl-cuda-interop.driver-api:cu-graphics-map-resource-flags
     :cu-graphics-map-resource-flags-write-discard)
  • Function CU-GL-CTX-CREATE (pctx flags dev)
  • Function CU-GRAPHICS-GL-REGISTER-BUFFER (p-cuda-resource buffer flags)
  • Function CU-GRAPHICS-MAP-RESOURCES (count resources hstream)
  • Function CU-GRAPHICS-RESOURCE-GET-MAPPED-POINTER (pdevptr psize resource)
  • Function CU-GRAPHICS-RESOURCE-SET-MAP-FLAGS (resource flags)
  • Function CU-GRAPHICS-UNMAP-RESOURCES (count resources hstream)
  • Function CU-GRAPHICS-UNREGISTER-RESOURCE (resource)

Also exports

  • CL-CUDA.DRIVER-API:CU-STREAM-DESTROY
  • CL-CUDA.DRIVER-API:CU-DEVICE-TOTAL-MEM
  • CL-CUDA.DRIVER-API:CU-STREAM-QUERY
  • CL-CUDA.DRIVER-API:CU-EVENT-DEFAULT
  • CL-CUDA.DRIVER-API:CU-CTX-CREATE
  • CL-CUDA.DRIVER-API:CU-DEVICE
  • CL-CUDA.DRIVER-API:CU-MODULE-GET-FUNCTION
  • CL-CUDA.DRIVER-API:CU-DEVICE-GET-NAME
  • CL-CUDA.DRIVER-API:CU-EVENT
  • CL-CUDA.DRIVER-API:CU-EVENT-ELAPSED-TIME
  • CL-CUDA.DRIVER-API:CU-EVENT-CREATE
  • CL-CUDA.DRIVER-API:CU-RESULT
  • CL-CUDA.DRIVER-API:CU-STREAM-WAIT-EVENT
  • CL-CUDA.DRIVER-API:CU-MEMCPY-HOST-TO-DEVICE
  • CL-CUDA.DRIVER-API:CU-EVENT-SYNCHRONIZE
  • CL-CUDA.DRIVER-API:CU-MEMCPY-DEVICE-TO-HOST-ASYNC
  • CL-CUDA.DRIVER-API:CU-MEM-HOST-UNREGISTER
  • CL-CUDA.DRIVER-API:CU-DEVICE-COMPUTE-CAPABILITY
  • CL-CUDA.DRIVER-API:CU-DEVICE-GET
  • CL-CUDA.DRIVER-API:CU-EVENT-BLOCKING-SYNC
  • CL-CUDA.DRIVER-API:*SHOW-MESSAGES*
  • CL-CUDA.DRIVER-API:CU-EVENT-DISABLE-TIMING
  • CL-CUDA.DRIVER-API:CU-EVENT-RECORD
  • CL-CUDA.DRIVER-API:*SDK-NOT-FOUND*
  • CL-CUDA.DRIVER-API:CU-MEM-FREE
  • CL-CUDA.DRIVER-API:CU-EVENT-INTERPROCESS
  • CL-CUDA.DRIVER-API:CU-MODULE-UNLOAD
  • CL-CUDA.DRIVER-API:CU-MEM-ALLOC
  • CL-CUDA.DRIVER-API:CU-STREAM-SYNCHRONIZE
  • CL-CUDA.DRIVER-API:CU-MEM-HOST-REGISTER
  • CL-CUDA.DRIVER-API:CU-MODULE
  • CL-CUDA.DRIVER-API:CU-MEMCPY-HOST-TO-DEVICE-ASYNC
  • CL-CUDA.DRIVER-API:CU-CTX-SYNCHRONIZE
  • CL-CUDA.DRIVER-API:SIZE-T
  • CL-CUDA.DRIVER-API:CU-INIT
  • CL-CUDA.DRIVER-API:CU-LAUNCH-KERNEL
  • CL-CUDA.DRIVER-API:CU-MEMCPY-DEVICE-TO-HOST
  • CL-CUDA.DRIVER-API:CU-CONTEXT
  • CL-CUDA.DRIVER-API:CU-DEVICE-GET-COUNT
  • CL-CUDA.DRIVER-API:CU-FUNCTION
  • CL-CUDA.DRIVER-API:CU-MODULE-GET-GLOBAL
  • CL-CUDA.DRIVER-API:CU-EVENT-DESTROY
  • CL-CUDA.DRIVER-API:CU-MODULE-LOAD
  • CL-CUDA.DRIVER-API:CU-CTX-DESTROY
  • CL-CUDA.DRIVER-API:CU-STREAM
  • CL-CUDA.DRIVER-API:CU-STREAM-CREATE
  • CL-CUDA.DRIVER-API:CU-DEVICE-PTR

CL-CUDA-INTEROP.API.MEMORY

  • Function MEMORY-BLOCK-P (object)
  • Function MEMORY-BLOCK-HOST-PTR (instance)
  • Function MEMORY-BLOCK-VERTEX-BUFFER-OBJECT (instance)
  • Function MEMORY-BLOCK-GRAPHIC-RESOURCE-PTR (instance)
  • Function MEMORY-BLOCK-TYPE (instance)
  • Function MEMORY-BLOCK-SIZE (instance)
  • Function ALLOC-MEMORY-BLOCK (type size)
  • Function FREE-MEMORY-BLOCK (memory-block)
  • Function MEMORY-BLOCK-INIT-DEVICE-PTR (memory-block)
  • Function MEMORY-BLOCK-RELEASE-DEVICE-PTR (memory-block)
  • Macro WITH-MEMORY-BLOCK-DEVICE-PTR ((device-ptr memory-block) &body body)
  • Macro WITH-MEMORY-BLOCK ((var type size) &body body)
  • Macro WITH-MEMORY-BLOCKS (bindings &body body)
  • Function SYNC-MEMORY-BLOCK (memory-block direction)
  • Function MEMORY-BLOCK-AREF (memory-block index)
  • Function (setf MEMORY-BLOCK-AREF) (new-value memory-block index)

Also exports

  • CL-CUDA.API.MEMORY:MEMCPY-HOST-TO-DEVICE
  • CL-CUDA.API.MEMORY:HOST-MEMORY-AREF
  • CL-CUDA.API.MEMORY:FREE-HOST-MEMORY
  • CL-CUDA.API.MEMORY:MEMCPY-DEVICE-TO-HOST
  • CL-CUDA.API.MEMORY:ALLOC-HOST-MEMORY
  • CL-CUDA.API.MEMORY:WITH-HOST-MEMORY

CL-CUDA-INTEROP.API.CONTEXT

  • Function CREATE-CUDA-CONTEXT (device)
  • Macro WITH-CUDA ((dev-id &key (interop t)) &body body)

Also exports

  • CL-CUDA.API.CONTEXT:GET-CUDA-DEVICE
  • CL-CUDA.API.CONTEXT:*CUDA-CONTEXT*
  • CL-CUDA.API.CONTEXT:*CUDA-STREAM*
  • CL-CUDA.API.CONTEXT:DEVICE-COMPUTE-CAPABILITY
  • CL-CUDA.API.CONTEXT:DESTROY-CUDA-CONTEXT
  • CL-CUDA.API.CONTEXT:*CUDA-DEVICE*
  • CL-CUDA.API.CONTEXT:SYNCHRONIZE-CONTEXT
  • CL-CUDA.API.CONTEXT:INIT-CUDA

CL-CUDA-INTEROP.API.DEFKERNEL

  • Macro DEFKERNEL (name (return-type arguments) &body body)

Also exports

  • CL-CUDA.API.DEFKERNEL:EXPAND-MACRO-1
  • CL-CUDA.API.DEFKERNEL:DEFKERNELMACRO
  • CL-CUDA.API.DEFKERNEL:EXPAND-MACRO
  • CL-CUDA.API.DEFKERNEL:DEFKERNEL-SYMBOL-MACRO

CL-CUDA-INTEROP.API

No exported symbols.

Also exports

  • CL-CUDA-INTEROP.API.CONTEXT:CREATE-CUDA-CONTEXT
  • CL-CUDA.API.NVCC:*NVCC-BINARY*
  • CL-CUDA.API.DEFKERNEL:DEFKERNEL-SYMBOL-MACRO
  • CL-CUDA.API.MEMORY:FREE-DEVICE-MEMORY
  • CL-CUDA-INTEROP.API.MEMORY:FREE-MEMORY-BLOCK
  • CL-CUDA.API.MEMORY:MEMCPY-HOST-TO-DEVICE
  • CL-CUDA.API.MEMORY:WITH-DEVICE-MEMORY
  • CL-CUDA.API.MEMORY:WITH-HOST-MEMORY
  • CL-CUDA.API.TIMER:START-TIMER
  • CL-CUDA.API.TIMER:STOP-TIMER
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-RELEASE-DEVICE-PTR
  • CL-CUDA-INTEROP.API.MEMORY:WITH-MEMORY-BLOCKS
  • CL-CUDA-INTEROP.API.MEMORY:ALLOC-MEMORY-BLOCK
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-INIT-DEVICE-PTR
  • CL-CUDA.API.CONTEXT:*CUDA-CONTEXT*
  • CL-CUDA.API.CONTEXT:*CUDA-STREAM*
  • CL-CUDA.API.MEMORY:FREE-HOST-MEMORY
  • CL-CUDA.API.CONTEXT:INIT-CUDA
  • CL-CUDA.API.TIMER:WITH-TIMER
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-AREF
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-SIZE
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-BYTES
  • CL-CUDA.API.MEMORY:MEMCPY-DEVICE-TO-HOST
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-KBYTES
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-GBYTES
  • CL-CUDA.API.CONTEXT:SYNCHRONIZE-CONTEXT
  • CL-CUDA-INTEROP.API.CONTEXT:WITH-CUDA
  • CL-CUDA.API.DEFKERNEL:EXPAND-MACRO-1
  • CL-CUDA.API.TIMER:SYNCHRONIZE-TIMER
  • CL-CUDA.API.CONTEXT:DEVICE-COMPUTE-CAPABILITY
  • CL-CUDA.API.TIMER:DESTROY-TIMER
  • CL-CUDA.API.DEFKERNEL:EXPAND-MACRO
  • CL-CUDA.API.CONTEXT:*CUDA-DEVICE*
  • CL-CUDA.API.DEFKERNEL:GLOBAL-REF
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-P
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-TYPE
  • CL-CUDA-INTEROP.API.MEMORY:SYNC-MEMORY-BLOCK
  • CL-CUDA.API.TIMER:CREATE-TIMER
  • CL-CUDA-INTEROP.API.MEMORY:WITH-MEMORY-BLOCK
  • CL-CUDA.API.NVCC:*NVCC-OPTIONS*
  • COMMON-LISP:LET*
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-GRAPHIC-RESOURCE-PTR
  • CL-CUDA.API.DEFKERNEL:DEFGLOBAL
  • CL-CUDA.API.TIMER:ELAPSED-TIME
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-VERTEX-BUFFER-OBJECT
  • CL-CUDA.API.NVCC:*TMP-PATH*
  • CL-CUDA.API.MEMORY:ALLOC-DEVICE-MEMORY
  • CL-CUDA.API.MEMORY:ALLOC-HOST-MEMORY
  • COMMON-LISP:UNLESS
  • CL-CUDA.API.CONTEXT:DESTROY-CUDA-CONTEXT
  • CL-CUDA.API.DEFKERNEL:DEFKERNELMACRO
  • COMMON-LISP:WHEN
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-HOST-PTR
  • CL-CUDA-INTEROP.API.DEFKERNEL:DEFKERNEL
  • CL-CUDA.API.CONTEXT:GET-CUDA-DEVICE
  • CL-CUDA-INTEROP.API.MEMORY:WITH-MEMORY-BLOCK-DEVICE-PTR
  • CL-CUDA.API.MEMORY:HOST-MEMORY-AREF
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-MBYTES

CL-CUDA-INTEROP

No exported symbols.

Also exports

  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-P
  • CL-CUDA.LANG.DATA:DOUBLE3-P
  • CL-CUDA.API.CONTEXT:*CUDA-STREAM*
  • CL-CUDA.LANG.TYPE:CFFI-TYPE
  • CL-CUDA.API.TIMER:ELAPSED-TIME
  • CL-CUDA.LANG.DATA:FLOAT4-=
  • CL-CUDA.API.NVCC:*NVCC-BINARY*
  • CL-CUDA.LANG.DATA:DOUBLE4-P
  • CL-CUDA.API.CONTEXT:*CUDA-CONTEXT*
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-AREF
  • CL-CUDA.LANG.BUILT-IN:CURAND-NORMAL-FLOAT-XORWOW
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-RELEASE-DEVICE-PTR
  • CL-CUDA.LANG.TYPE:DOUBLE
  • CL-CUDA.API.CONTEXT:*CUDA-DEVICE*
  • CL-CUDA-INTEROP.API.MEMORY:WITH-MEMORY-BLOCK-DEVICE-PTR
  • CL-CUDA.LANG.SYNTAX:BLOCK-DIM-Z
  • CL-CUDA.LANG.DATA:FLOAT3-Z
  • COMMON-LISP:LET*
  • CL-CUDA.LANG.BUILT-IN:CURAND-NORMAL-DOUBLE-XORWOW
  • CL-CUDA.LANG.TYPE:FLOAT*
  • CL-CUDA.LANG.DATA:FLOAT3-P
  • CL-CUDA.LANG.BUILT-IN:__DIVIDE
  • CL-CUDA.API.MEMORY:ALLOC-DEVICE-MEMORY
  • CL-CUDA.LANG.SYNTAX:GRID-DIM-Y
  • CL-CUDA.LANG.DATA:FLOAT4-Y
  • CL-CUDA.LANG.DATA:DOUBLE4-X
  • CL-CUDA.LANG.TYPE:BOOL
  • CL-CUDA.API.MEMORY:WITH-HOST-MEMORY
  • CL-CUDA.API.MEMORY:FREE-DEVICE-MEMORY
  • CL-CUDA.LANG.TYPE:CURAND-STATE-XORWOW*
  • CL-CUDA-INTEROP.API.CONTEXT:CREATE-CUDA-CONTEXT
  • CL-CUDA.LANG.SYNTAX:THREAD-IDX-Z
  • COMMON-LISP:SET
  • CL-CUDA.LANG.SYNTAX:BLOCK-IDX-Y
  • CL-CUDA.LANG.DATA:FLOAT4
  • CL-CUDA.API.MEMORY:HOST-MEMORY-AREF
  • CL-CUDA.LANG.DATA:DOUBLE4-=
  • CL-CUDA.LANG.DATA:DOUBLE3-=
  • CL-CUDA.LANG.DATA:FLOAT3
  • COMMON-LISP:FLOAT
  • CL-CUDA.LANG.BUILT-IN:CURAND-UNIFORM-FLOAT-XORWOW
  • CL-CUDA.API.DEFKERNEL:EXPAND-MACRO
  • CL-CUDA-INTEROP.API.MEMORY:WITH-MEMORY-BLOCK
  • CL-CUDA.LANG.SYNTAX:BLOCK-IDX-X
  • CL-CUDA.LANG.TYPE:DOUBLE*
  • COMMON-LISP:UNLESS
  • CL-CUDA.LANG.DATA:DOUBLE3-Z
  • CL-CUDA.LANG.TYPE:INT*
  • CL-CUDA-INTEROP.API.MEMORY:WITH-MEMORY-BLOCKS
  • CL-CUDA.DRIVER-API:*SHOW-MESSAGES*
  • CL-CUDA.API.MEMORY:WITH-DEVICE-MEMORY
  • CL-CUDA.LANG.BUILT-IN:XOR
  • CL-CUDA.API.TIMER:STOP-TIMER
  • CL-CUDA-INTEROP.API.MEMORY:SYNC-MEMORY-BLOCK
  • CL-CUDA.LANG.BUILT-IN:SYNCTHREADS
  • CL-CUDA.LANG.SYNTAX:THREAD-IDX-Y
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-SIZE
  • CL-CUDA.LANG.DATA:MAKE-DOUBLE4
  • CL-CUDA.API.TIMER:START-TIMER
  • CL-CUDA.LANG.TYPE:VOID
  • CL-CUDA.LANG.DATA:WITH-DOUBLE4
  • CL-CUDA-INTEROP.API.DEFKERNEL:DEFKERNEL
  • CL-CUDA.LANG.BUILT-IN:DOUBLE-TO-INT-RN
  • CL-CUDA.API.CONTEXT:INIT-CUDA
  • CL-CUDA.LANG.TYPE:FLOAT4*
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-BYTES
  • CL-CUDA.API.NVCC:*TMP-PATH*
  • CL-CUDA.API.NVCC:*NVCC-OPTIONS*
  • CL-CUDA-INTEROP.API.MEMORY:ALLOC-MEMORY-BLOCK
  • CL-CUDA.LANG.TYPE:BOOL*
  • CL-CUDA.API.CONTEXT:DEVICE-COMPUTE-CAPABILITY
  • CL-CUDA.LANG.DATA:WITH-FLOAT4
  • CL-CUDA.API.DEFKERNEL:DEFGLOBAL
  • CL-CUDA.LANG.TYPE:DOUBLE3*
  • CL-CUDA.API.DEFKERNEL:DEFKERNELMACRO
  • CL-CUDA-INTEROP.API.MEMORY:FREE-MEMORY-BLOCK
  • CL-CUDA.LANG.DATA:FLOAT3-Y
  • CL-CUDA.LANG.DATA:FLOAT4-P
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-GRAPHIC-RESOURCE-PTR
  • CL-CUDA.LANG.DATA:FLOAT4-W
  • CL-CUDA.API.CONTEXT:SYNCHRONIZE-CONTEXT
  • CL-CUDA.LANG.DATA:DOUBLE3-Y
  • CL-CUDA.API.MEMORY:ALLOC-HOST-MEMORY
  • CL-CUDA.LANG.SYNTAX:THREAD-IDX-X
  • CL-CUDA.API.MEMORY:MEMCPY-DEVICE-TO-HOST
  • CL-CUDA.API.MEMORY:MEMCPY-HOST-TO-DEVICE
  • CL-CUDA.API.CONTEXT:GET-CUDA-DEVICE
  • CL-CUDA-INTEROP.API.CONTEXT:WITH-CUDA
  • CL-CUDA.LANG.BUILT-IN:__EXP
  • CL-CUDA.LANG.SYNTAX:WITH-SHARED-MEMORY
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-MBYTES
  • CL-CUDA.LANG.DATA:MAKE-FLOAT4
  • CL-CUDA.API.TIMER:CREATE-TIMER
  • CL-CUDA.LANG.BUILT-IN:ATOMIC-ADD
  • CL-CUDA.LANG.DATA:MAKE-FLOAT3
  • CL-CUDA.LANG.BUILT-IN:POINTER
  • CL-CUDA.LANG.TYPE:CURAND-STATE-XORWOW
  • CL-CUDA.LANG.DATA:DOUBLE3
  • CL-CUDA.LANG.TYPE:DOUBLE4*
  • CL-CUDA.LANG.DATA:FLOAT4-X
  • CL-CUDA.LANG.DATA:DOUBLE4-Y
  • CL-CUDA.LANG.BUILT-IN:SHL
  • CL-CUDA.DRIVER-API:*SDK-NOT-FOUND*
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-VERTEX-BUFFER-OBJECT
  • CL-CUDA.LANG.BUILT-IN:DOT
  • CL-CUDA.API.DEFKERNEL:GLOBAL-REF
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-KBYTES
  • CL-CUDA.LANG.SYNTAX:GRID-DIM-Z
  • CL-CUDA.API.MEMORY:DEVICE-TOTAL-GBYTES
  • CL-CUDA.LANG.BUILT-IN:CURAND-INIT-XORWOW
  • CL-CUDA.LANG.DATA:DOUBLE3-X
  • CL-CUDA.API.TIMER:DESTROY-TIMER
  • CL-CUDA.API.MEMORY:FREE-HOST-MEMORY
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-INIT-DEVICE-PTR
  • CL-CUDA.LANG.SYNTAX:BLOCK-IDX-Z
  • CL-CUDA.API.TIMER:WITH-TIMER
  • CL-CUDA.LANG.DATA:FLOAT3-X
  • CL-CUDA.LANG.DATA:FLOAT4-Z
  • CL-CUDA.LANG.DATA:WITH-DOUBLE3
  • CL-CUDA.LANG.DATA:DOUBLE4
  • CL-CUDA.LANG.DATA:MAKE-DOUBLE3
  • CL-CUDA.API.CONTEXT:DESTROY-CUDA-CONTEXT
  • CL-CUDA.LANG.SYNTAX:BLOCK-DIM-X
  • CL-CUDA.LANG.DATA:DOUBLE4-W
  • CL-CUDA.LANG.DATA:WITH-FLOAT3
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-HOST-PTR
  • CL-CUDA-INTEROP.API.MEMORY:MEMORY-BLOCK-TYPE
  • CL-CUDA.LANG.DATA:DOUBLE4-Z
  • CL-CUDA.LANG.TYPE:FLOAT3*
  • COMMON-LISP:WHEN
  • CL-CUDA.LANG.BUILT-IN:CURAND-UNIFORM-DOUBLE-XORWOW
  • CL-CUDA.LANG.BUILT-IN:RSQRT
  • CL-CUDA.API.TIMER:SYNCHRONIZE-TIMER
  • CL-CUDA.LANG.BUILT-IN:SHR
  • CL-CUDA.LANG.DATA:FLOAT3-=
  • CL-CUDA.LANG.SYNTAX:BLOCK-DIM-Y
  • CL-CUDA.API.DEFKERNEL:EXPAND-MACRO-1
  • CL-CUDA.LANG.TYPE:INT
  • CL-CUDA.API.DEFKERNEL:DEFKERNEL-SYMBOL-MACRO
  • CL-CUDA.LANG.SYNTAX:GRID-DIM-X