llama-cpp-turboquant/examples/godot_logistic_regression/gdnative_shared
2021-02-21 11:51:34 +00:00
..
src Amended SPDLOG_X log functions to be KP_LOG_X 2021-02-21 11:51:34 +00:00
.gdignore Updated to add logistic regression godot example 2020-09-26 16:37:24 +01:00
.gitignore Updated to add logistic regression godot example 2020-09-26 16:37:24 +01:00
CMakeLists.txt Updated godot example to use static lib 2020-10-03 15:26:01 +01:00
README.md Updated documentation 2020-10-14 08:42:42 +01:00

Godot Engine Integration: GdNative Library

This is the accompanying code for the Blog post "Supercharging Game Development with GPU Accelerated Machine Learning".

This section contains the implementation of the Kompute module as a shared GdNative Library that can be loaded dynamically through the Godot engine. This approach does not require re-compiling the Godot engine source code.

Set Up Dependencies

We can get all the required dependencies from godot by running

git clone --branch 3.2 https://github.com/godotengine/godot-cpp

cd godot-cpp

Then we can get all the subomdules

git submodule sync

and we build the bindings

scons -j16 platform=linuxbsd target=debug