From c42dd69ab945f61e79e4da4102a5f5758c710612 Mon Sep 17 00:00:00 2001 From: Dragan Djuric Date: Wed, 7 Feb 2024 16:28:24 +0100 Subject: [PATCH] Release 0.18.0. --- codox/index.html | 2 +- codox/uncomplicate.clojurecuda.core.html | 2 +- codox/uncomplicate.clojurecuda.info.html | 2 +- codox/uncomplicate.clojurecuda.internal.constants.html | 2 +- codox/uncomplicate.clojurecuda.toolbox.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/codox/index.html b/codox/index.html index e7d3c3e..1f7eb08 100644 --- a/codox/index.html +++ b/codox/index.html @@ -1,6 +1,6 @@ -Clojurecuda 0.18.0-SNAPSHOT

Clojurecuda 0.18.0-SNAPSHOT

Released under the Eclipse Public License

ClojureCUDA is a Clojure library for parallel computations with Nvidia's CUDA.

Installation

To install, add the following dependency to your project or build file:

[uncomplicate/clojurecuda "0.18.0-SNAPSHOT"]

Namespaces

uncomplicate.clojurecuda.core

Core ClojureCUDA functions for CUDA host programming. The kernels should be provided as strings (that may be stored and read from files) or binaries, written in CUDA C/C++.

+Clojurecuda 0.18.0

Clojurecuda 0.18.0

Released under the Eclipse Public License

ClojureCUDA is a Clojure library for parallel computations with Nvidia's CUDA.

Installation

To install, add the following dependency to your project or build file:

[uncomplicate/clojurecuda "0.18.0"]

Namespaces

uncomplicate.clojurecuda.info

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

Public variables and functions:

uncomplicate.clojurecuda.toolbox

Various helpers that are not needed by ClojureCUDA itself, but may be very helpful in applications. See Neanderthal and Bayadera libraries for the examples of how to use them.

diff --git a/codox/uncomplicate.clojurecuda.core.html b/codox/uncomplicate.clojurecuda.core.html index 868092b..d83b85b 100644 --- a/codox/uncomplicate.clojurecuda.core.html +++ b/codox/uncomplicate.clojurecuda.core.html @@ -1,6 +1,6 @@ -uncomplicate.clojurecuda.core documentation

uncomplicate.clojurecuda.core

Core ClojureCUDA functions for CUDA host programming. The kernels should be provided as strings (that may be stored and read from files) or binaries, written in CUDA C/C++.

+uncomplicate.clojurecuda.core documentation

uncomplicate.clojurecuda.core

Core ClojureCUDA functions for CUDA host programming. The kernels should be provided as strings (that may be stored and read from files) or binaries, written in CUDA C/C++.

Many examples are available in ClojureCUDA core test. You can see how to write CUDA kernels here and here and examples of how to load them here.

For more advanced examples, please read the source code of the CUDA engine of Neanderthal linear algebra library (mainly general CUDA and cuBLAS are used there), and the Deep Diamond tensor and linear algebra library (for extensive use of cuDNN).

Here’s a categorized map of core functions. Most functions throw ExceptionInfo in case of errors thrown by the CUDA driver.

diff --git a/codox/uncomplicate.clojurecuda.info.html b/codox/uncomplicate.clojurecuda.info.html index 3a7d7bf..30f851b 100644 --- a/codox/uncomplicate.clojurecuda.info.html +++ b/codox/uncomplicate.clojurecuda.info.html @@ -1,6 +1,6 @@ -uncomplicate.clojurecuda.info documentation

uncomplicate.clojurecuda.info

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

+uncomplicate.clojurecuda.info documentation

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

diff --git a/codox/uncomplicate.clojurecuda.internal.constants.html b/codox/uncomplicate.clojurecuda.internal.constants.html index b3c0a8e..7633bc7 100644 --- a/codox/uncomplicate.clojurecuda.internal.constants.html +++ b/codox/uncomplicate.clojurecuda.internal.constants.html @@ -1,6 +1,6 @@ -uncomplicate.clojurecuda.internal.constants documentation

uncomplicate.clojurecuda.internal.constants

Defines constants and mappings from/to CUDA constants.

+uncomplicate.clojurecuda.internal.constants documentation

uncomplicate.clojurecuda.internal.constants

Defines constants and mappings from/to CUDA constants.

ctx-flags

Available context flags defined in the CUDA standard.

ctx-limits

Available context limits.

cu-result-codes

CUDA Error messages as defined in CUresult.

diff --git a/codox/uncomplicate.clojurecuda.toolbox.html b/codox/uncomplicate.clojurecuda.toolbox.html index 8c77835..1bee1d0 100644 --- a/codox/uncomplicate.clojurecuda.toolbox.html +++ b/codox/uncomplicate.clojurecuda.toolbox.html @@ -1,4 +1,4 @@ -uncomplicate.clojurecuda.toolbox documentation

uncomplicate.clojurecuda.toolbox

Various helpers that are not needed by ClojureCUDA itself, but may be very helpful in applications. See Neanderthal and Bayadera libraries for the examples of how to use them.

+uncomplicate.clojurecuda.toolbox documentation

uncomplicate.clojurecuda.toolbox

Various helpers that are not needed by ClojureCUDA itself, but may be very helpful in applications. See Neanderthal and Bayadera libraries for the examples of how to use them.

launch-reduce!

(launch-reduce! hstream main-kernel reduction-kernel main-params reduction-params n local-n)(launch-reduce! hstream main-kernel reduction-kernel main-params reduction-params m n local-m local-n)

read-double

(read-double cu-buf)(read-double hstream cu-buf)

read-float

(read-float cu-buf)(read-float hstream cu-buf)

read-int

(read-int cu-buf)(read-int hstream cu-buf)

read-long

(read-long cu-buf)(read-long hstream cu-buf)
\ No newline at end of file