Fixed array_multiplication compile errors

This commit is contained in:
Dudecake 2020-09-27 18:00:23 +02:00
parent a0eabc6472
commit ce7c7eba3d
No known key found for this signature in database
GPG key ID: 23FE6D6C9114BC76
5 changed files with 7 additions and 13 deletions

View file

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.17.0)
project(kompute_godot VERSION 0.1.0)
project(kompute_array_mult VERSION 0.1.0)
set(CMAKE_CXX_STANDARD 14)
@ -13,15 +13,10 @@ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DRELEASE=1 ${KOMPUTE_EX
find_package(kompute REQUIRED)
find_package(Vulkan REQUIRED)
add_executable(kompute_godot
add_executable(kompute_array_mult
src/Main.cpp)
target_link_libraries(kompute_godot
target_link_libraries(kompute_array_mult
kompute::kompute
Vulkan::Vulkan
)
target_link_libraries(kompute_godot
"lib/godot.windows.tools.64.lib"
)

View file

@ -1195,7 +1195,7 @@ OpAlgoBase<tX, tY, tZ>::init()
SPDLOG_DEBUG("Kompute OpAlgoBase fetching spirv data");
std::vector<char>& shaderFileData = this->fetchSpirvBinaryData();
std::vector<char> shaderFileData = this->fetchSpirvBinaryData();
SPDLOG_DEBUG("Kompute OpAlgoBase Initialising algorithm component");
@ -1427,7 +1427,7 @@ OpAlgoLhsRhsOut<tX, tY, tZ>::init()
SPDLOG_DEBUG("Kompute OpAlgoLhsRhsOut fetching spirv data");
std::vector<char>& shaderFileData = this->fetchSpirvBinaryData();
std::vector<char> shaderFileData = this->fetchSpirvBinaryData();
SPDLOG_DEBUG("Kompute OpAlgoLhsRhsOut Initialising algorithm component");

View file

@ -101,7 +101,6 @@ class Manager
* sequences.
*
* @param tensors The tensors to be used in the operation recorded
* @param sequenceName The name of the sequence to be retrieved or created
* @param TArgs Template parameters that will be used to initialise
* Operation to allow for extensible configurations on initialisation
*/

View file

@ -236,7 +236,7 @@ OpAlgoBase<tX, tY, tZ>::init()
SPDLOG_DEBUG("Kompute OpAlgoBase fetching spirv data");
std::vector<char>& shaderFileData = this->fetchSpirvBinaryData();
std::vector<char> shaderFileData = this->fetchSpirvBinaryData();
SPDLOG_DEBUG("Kompute OpAlgoBase Initialising algorithm component");

View file

@ -162,7 +162,7 @@ OpAlgoLhsRhsOut<tX, tY, tZ>::init()
SPDLOG_DEBUG("Kompute OpAlgoLhsRhsOut fetching spirv data");
std::vector<char>& shaderFileData = this->fetchSpirvBinaryData();
std::vector<char> shaderFileData = this->fetchSpirvBinaryData();
SPDLOG_DEBUG("Kompute OpAlgoLhsRhsOut Initialising algorithm component");