llama-cpp-turboquant/examples/array_multiplication/README.md
Fabian Sauter 7d16b73d14 Updated the array_multiplication example
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:46 +02:00

45 lines
1.2 KiB
Markdown

# 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`](https://cmake.org/cmake/help/latest/module/FetchContent.html) to consume Kompute as a dependency.
To build you just need to run the CMake command in this folder as follows:
```bash
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
```bash
./kompute_array_mult
```
### Windows
```bash
.\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](https://vulkan.lunarg.com/sdk/home). You just have to follow the instructions for the relevant platform.