Files
Alejandro Saucedo bc1149a421 Added test with assert in test
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2022-11-26 16:29:23 +00:00
..
2022-11-26 16:29:23 +00:00

Kompute Array Multiplication Example

This folder contains an end to end Kompute Example that implements logistic regression. This example is structured such that you will be able to extend it for your project. It contains a CMake build configuration that can be used in your production applications.

Building the example

You will notice that it's a standalone project, so you can re-use it for your application. It uses CMake's fetch_content to consume Kompute as a dependency. To build you just need to run the CMake command in this folder as follows:

git clone https://github.com/KomputeProject/kompute.git
cd kompute/examples/array_multiplication
mkdir build
cd build
cmake ..
cmake --build .

Executing

Form inside the build/ directory run:

Linux

./kompute_array_mult

Windows

.\Debug\kompute_array_mult.exe

Pre-requisites

In order to run this example, you will need the following dependencies:

  • REQUIRED
    • The Vulkan SDK must be installed

For the Vulkan SDK, the simplest way to install it is through their website. You just have to follow the instructions for the relevant platform.