uncomplicate.clojurecuda.info

Info functions for all CUDA objects (devices, etc…).

api-version

(api-version ctx)(api-version)

Gets the context’s API version.

async-engine-count

(async-engine-count device)

binary-version

(binary-version function)

cache-config

(cache-config)

Returns the preferred cache configuration for the current context.

See cuCtxGetCacheConfig

cache-config!

(cache-config! fun config)

Sets the preferred cache configuration for a device function fun, as a keyword config.

Available configs are :prefer-none, :prefer-shared, :prefer-L1, and :prefer-equal.

See cuFuncSetCacheConfig

cache-config*

(cache-config* fun config)

Sets the preferred cache configuration for a device function fun, as an integer config.

See cuFuncSetCacheConfig

can-map-host-memory

(can-map-host-memory device)

clock-rate

(clock-rate device)

compute-capability-major

(compute-capability-major device)

compute-capability-minor

(compute-capability-minor device)

compute-mode

(compute-mode device)

concurrent-kernels

(concurrent-kernels device)

concurrent-managed-access

(concurrent-managed-access device)

const-size

(const-size function)

ctx-device

(ctx-device)

Returns the device for the current context.

device-name

(device-name device)

driver-version

(driver-version)

ecc-enabled

(ecc-enabled device)

global-L1-cache-supported

(global-L1-cache-supported device)

global-memory-bus-width

(global-memory-bus-width device)

integrated

(integrated device)

kernel-exec-timeout

(kernel-exec-timeout device)

L2-cache-size

(L2-cache-size device)

limit

(limit limit)

Returns resource limits for the attribute specified by keyword limit.

Supported limits are: stack-size, malloc-heap-size, printf-fifo-size, dev-runtime-sync-depth, dev-runtime-pending-launch-count.

See cuCtxGetLimit

limit!

(limit! limit value)

Sets resource limit for the attribute specified by keyword limit to value.

Supported limits are: stack-size, malloc-heap-size, printf-fifo-size, dev-runtime-sync-depth, dev-runtime-pending-launch-count.

See cuCtxGetLimit

limit*

(limit* limit)(limit* limit value)

Returns or sets resource limits for the attribute specified by integer limit.

See cuCtxGetLimit

local-L1-cache-supported

(local-L1-cache-supported device)

local-size

(local-size function)

managed-memory

(managed-memory device)

max-block-dim-x

(max-block-dim-x device)

max-block-dim-y

(max-block-dim-y device)

max-block-dim-z

(max-block-dim-z device)

max-grid-dim-x

(max-grid-dim-x device)

max-grid-dim-y

(max-grid-dim-y device)

max-grid-dim-z

(max-grid-dim-z device)

max-pitch

(max-pitch device)

max-registers-per-block

(max-registers-per-block device)

max-registers-per-multiprocessor

(max-registers-per-multiprocessor device)

max-shared-memory-per-block

(max-shared-memory-per-block device)

max-shared-memory-per-multiprocessor

(max-shared-memory-per-multiprocessor device)

max-threads-per-block

(max-threads-per-block device)

max-threads-per-block-fn

(max-threads-per-block-fn function)

max-threads-per-multiprocessor

(max-threads-per-multiprocessor device)

maximum-surface1d-layered-layers

(maximum-surface1d-layered-layers device)

maximum-surface1d-layered-width

(maximum-surface1d-layered-width device)

maximum-surface1d-width

(maximum-surface1d-width device)

maximum-surface2d-height

(maximum-surface2d-height device)

maximum-surface2d-layered-height

(maximum-surface2d-layered-height device)

maximum-surface2d-layered-layers

(maximum-surface2d-layered-layers device)

maximum-surface2d-layered-width

(maximum-surface2d-layered-width device)

maximum-surface2d-width

(maximum-surface2d-width device)

maximum-surface3d-depth

(maximum-surface3d-depth device)

maximum-surface3d-height

(maximum-surface3d-height device)

maximum-surface3d-width

(maximum-surface3d-width device)

maximum-surfacecubemap-layered-layers

(maximum-surfacecubemap-layered-layers device)

maximum-surfacecubemap-layered-width

(maximum-surfacecubemap-layered-width device)

maximum-surfacecubemap-width

(maximum-surfacecubemap-width device)

maximum-texture1d-layered-layers

(maximum-texture1d-layered-layers device)

maximum-texture1d-layered-width

(maximum-texture1d-layered-width device)

maximum-texture1d-linear-width

(maximum-texture1d-linear-width device)

maximum-texture1d-mipmapped-width

(maximum-texture1d-mipmapped-width device)

maximum-texture1d-width

(maximum-texture1d-width device)

maximum-texture2d-height

(maximum-texture2d-height device)

maximum-texture2d-layered-height

(maximum-texture2d-layered-height device)

maximum-texture2d-layered-layers

(maximum-texture2d-layered-layers device)

maximum-texture2d-linear-height

(maximum-texture2d-linear-height device)

maximum-texture2d-linear-pitch

(maximum-texture2d-linear-pitch device)

maximum-texture2d-linear-width

(maximum-texture2d-linear-width device)

maximum-texture2d-mipmapped-height

(maximum-texture2d-mipmapped-height device)

maximum-texture2d-mipmapped-width

(maximum-texture2d-mipmapped-width device)

maximum-texture2d-width

(maximum-texture2d-width device)

maximum-texture3d-depth

(maximum-texture3d-depth device)

maximum-texture3d-depth-alternate

(maximum-texture3d-depth-alternate device)

maximum-texture3d-height

(maximum-texture3d-height device)

maximum-texture3d-height-alternate

(maximum-texture3d-height-alternate device)

maximum-texture3d-width

(maximum-texture3d-width device)

maximum-texture3d-width-alternate

(maximum-texture3d-width-alternate device)

maximum-texturecubemap-layered-layers

(maximum-texturecubemap-layered-layers device)

maximum-texturecubemap-layered-width

(maximum-texturecubemap-layered-width device)

maximum-texturecubemap-width

(maximum-texturecubemap-width device)

memory-clock-rate

(memory-clock-rate device)

multi-gpu-board

(multi-gpu-board device)

multi-gpu-board-group-id

(multi-gpu-board-group-id device)

multiprocessor-count

(multiprocessor-count device)

num-regs

(num-regs function)

pci-bus-id

(pci-bus-id device)

pci-bus-id-string

(pci-bus-id-string device)

pci-device-id

(pci-device-id device)

pci-domain-id

(pci-domain-id device)

ptx-version

(ptx-version function)

shared-config

(shared-config)

Gets the current shared memory configuration for the current context.

See cuCtxGetSharedMemConfig

shared-config!

(shared-config! config)(shared-config! func config)

Sets the current shared memory configuration for the current context.

See cuCtxSetSharedMemConfig See cuFuncSetSharedMemConfig

shared-config*

(shared-config*)(shared-config* config)(shared-config* func config)

Sets or gets the current shared memory configuration for the current context or kernel func.

See cuCtxGetSharedMemConfig See cuCtxSetSharedMemConfig See cuFuncSetSharedMemConfig

shared-size

(shared-size function)

stream-flag

(stream-flag hstream)

stream-priorities-supported

(stream-priorities-supported device)

stream-priority

(stream-priority hstream)

stream-priority-range

(stream-priority-range)

Returns a vector of 2 numerical values that correspond to the least and greatest stream priorities.

See cuCtxGetStreamPriorityRange

surface-alignment

(surface-alignment device)

tcc-driver

(tcc-driver device)

texture-alignment

(texture-alignment device)

texture-pitch-alignment

(texture-pitch-alignment device)

total-constant-memory

(total-constant-memory device)

total-mem

(total-mem device)

unified-addressing

(unified-addressing device)

warp-size

(warp-size device)