Commit graph

325 commits

Author SHA1 Message Date
Fabian Sauter
2ec35acba5 Updated pybind11 bindings
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:04 +02:00
Fabian Sauter
210fa21a3a [[nodiscard]] is cpp17
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:04 +02:00
Fabian Sauter
3f7ca2830e Renamed logger target
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:04 +02:00
Fabian Sauter
f0773d6005 Private linking when ever possible
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:04 +02:00
Fabian Sauter
f01bcb68a5 New logging framework
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:04 +02:00
Fabian Sauter
34f9d58722 Fixed compiling tests with the new test layout
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:04 +02:00
Fabian Sauter
b95df8d0a0 First pass for rewriting the build system
* Refactored all CMake files
* Started working on compiling shaders to header files in CMake

Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:04 +02:00
Fabian Sauter
5dae50c8d9 Vulkan driver version check
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:04 +02:00
Fabian Sauter
bf0d938428 Linking against Vulkan-Headers
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:04 +02:00
Fabian Sauter
50ffbbc01a Replaced .gitmodules with fetch_content
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-07-27 12:48:04 +02:00
Fabian Sauter
88b06ad521 Fixed compiler warnings
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-05-20 09:43:35 +02:00
Fabian Sauter
e4a9b9d354 Not formatting automatically generated and lib files
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-05-02 16:24:51 +02:00
Fabian Sauter
24cd307042 Added .clang-format file and formatted everything
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-05-02 15:11:40 +02:00
Alejandro Saucedo
f731f2e55c
Merge pull request #285 from COM8/fmt_fix
Enum class fix for fmt 8.x
2022-05-02 13:58:02 +01:00
Alejandro Saucedo
221ad18315
Merge pull request #283 from COM8/master
Removed '#pragma once' from cpp files
2022-05-02 13:44:35 +01:00
Fabian Sauter
f40ba2852b Enum class fix for fmt 8.x
Since fmt 8.0.0 enum classes are not being implicitly converted to int any more.
Refference: https://github.com/fmtlib/fmt/issues/1841

Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-05-02 14:33:03 +02:00
Fabian Sauter
9a791b161d Fixed Vulkan deprecation warning
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-05-02 13:42:25 +02:00
Fabian Sauter
294fa46d0a Removed '#pragma once' from cpp files
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
2022-05-02 13:35:22 +02:00
Alejandro Saucedo
11b04510ea Added active log level definitions for kompute
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2022-04-13 10:52:42 +01:00
tpoisonooo
304335152a style(src/Algorithm): fix typo
Signed-off-by: tpoisonooo <khj.application@aliyun.com>
2022-03-17 17:54:31 +08:00
Alejandro Saucedo
d2d9ae6873 Android fixed example
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2022-01-30 13:30:41 +00:00
Alejandro Saucedo
ecf05b2c76
Merge pull request #257 from KomputeProject/fixed_formatting
Updated formatting
2021-11-17 08:24:46 +00:00
Alejandro Saucedo
797ba87c2a Updated formatting
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-11-16 23:03:43 +00:00
Alejandro Saucedo
304ed846d2
Merge pull request #254 from ItsBasi/ItsBasi-patch-reference-to-non-existing-single_include
Remove nonexisting "single_include" from INSTALL_INTERFACE
2021-09-29 18:11:29 +01:00
ItsBasi
6b56fddef8 Remove nonexisting "single_include" from INSTALL_INTERFACE
CMake considers it an error that the target kompute::kompute references the "single_include" folder which is actually installed to "include".

CMakeLists.txt👎 error: Imported target "kompute::kompute" includes non-existent path "D:/Downloads/kompute-0.8.0/build/install/single_include" in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide.

Signed-off-by: ItsBasi <5033630+ItsBasi@users.noreply.github.com>
2021-09-27 22:19:44 +02:00
ItsBasi
c181654f09 Avoid using pointers to temporary copies of desired extensions.
validExtensions now references data that remains constant for its entire life-time.

Signed-off-by: ItsBasi <5033630+ItsBasi@users.noreply.github.com>
2021-09-16 14:06:32 +02:00
Alejandro Saucedo
3eb97dbd05 Fix for null debug
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-09-15 14:17:47 +01:00
Alejandro Saucedo
932620091c Updated docs and renamig kp::Constants
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-09-12 16:52:16 +01:00
Alejandro Saucedo
990ccd5f3b Added docstrings for new functions
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-09-12 16:52:16 +01:00
Alejandro Saucedo
b9e40d5028 Updated algo to align with memory management
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-09-12 16:52:16 +01:00
Alejandro Saucedo
3d320ff687 Updating python
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-09-12 16:52:16 +01:00
Alejandro Saucedo
5ed2691301 Updated push const to validate same size params
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-09-12 16:52:15 +01:00
Alejandro Saucedo
858a70d9b8 Added tests for push constants of all and mixed types
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-09-12 16:52:15 +01:00
Alejandro Saucedo
c23573eb47 Added template function for algorithm on manager
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-09-12 16:52:15 +01:00
Alejandro Saucedo
2e1275e085 Cleanup of logging
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-09-12 15:19:11 +01:00
Alejandro Saucedo
860fda9fb5 Initil implementation
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2021-09-12 15:19:11 +01:00
Alejandro Saucedo
e4d85057d9 updated license and files 2021-07-21 21:12:26 +01:00
Alejandro Saucedo
1357549900 Updated glslang as core dependency 2021-07-20 19:22:51 +01:00
Corentin
0901700176 Fixed typo in CMakeLists.txt (ANDOID => ANDROID) 2021-06-21 14:01:38 +09:00
Alejandro Saucedo
53039040ba Updated naming on code files 2021-05-11 09:56:44 +01:00
Alejandro Saucedo
c072388c5e
Revert "Fixed the issue that caused CMake to look for non-existent path after being installed" 2021-05-06 19:43:13 +01:00
unexploredtest
b0bca974e1 removed explicit include dir for android 2021-05-03 22:45:42 +04:30
unexploredtest
c2b505c16e Fixed the issue that caused CMake to look a non-existance path 2021-05-03 15:28:35 +04:30
unexploredtest
1a39f87dd3 omitted .data() because it is incompatible with vulkan 1.1.x 2021-04-19 14:38:16 +04:30
unexploredtest
429628f246 Removed inconsistancies with original branch 2021-04-16 17:34:30 +04:30
unexploredtest
629c6e38ce changing the way deviceCount is obtained for compatibality 2021-04-16 17:22:17 +04:30
unexploredtest
84edfef34d trying to fix add_library for glslang 2021-04-12 20:50:33 +04:30
unexploredtest
71498b2030 Added identation 2021-04-12 12:34:55 +04:30
unexploredtest
429f3aaacf Raises an error if 1: There is no Vulkan device 2: physicalDeviceIndex exceeds the device limit 2021-04-12 10:25:48 +04:30
aliPMPAINT
59a02751e4 Trying to add it in the first cmakelists 2021-03-31 11:19:31 +04:30