diff --git a/single_include/kompute/Kompute.hpp b/single_include/kompute/Kompute.hpp index 85168a422..43b22d35c 100755 --- a/single_include/kompute/Kompute.hpp +++ b/single_include/kompute/Kompute.hpp @@ -579,6 +579,7 @@ OpMult::init(std::vector> tensors) shader_data::shaders_glsl_opmult_comp_spv, shader_data::shaders_glsl_opmult_comp_spv + kp::shader_data::shaders_glsl_opmult_comp_spv_len); #else + SPDLOG_DEBUG("Kompute OpMult Running debug loading shaders directly from spirv file"); // TODO: Move to utility function std::string shaderFilePath = "shaders/glsl/opmult.comp.spv"; @@ -594,6 +595,8 @@ OpMult::init(std::vector> tensors) std::vector shaderFileData(shaderDataRaw, shaderDataRaw + shaderFileSize); #endif + SPDLOG_DEBUG("Kompute OpMult Initialising algorithm component"); + this->mAlgorithm->init(shaderFileData, tensors); } diff --git a/src/include/kompute/OpMult.hpp b/src/include/kompute/OpMult.hpp index b550c1a58..86fd32e05 100644 --- a/src/include/kompute/OpMult.hpp +++ b/src/include/kompute/OpMult.hpp @@ -147,6 +147,7 @@ OpMult::init(std::vector> tensors) shader_data::shaders_glsl_opmult_comp_spv, shader_data::shaders_glsl_opmult_comp_spv + kp::shader_data::shaders_glsl_opmult_comp_spv_len); #else + SPDLOG_DEBUG("Kompute OpMult Running debug loading shaders directly from spirv file"); // TODO: Move to utility function std::string shaderFilePath = "shaders/glsl/opmult.comp.spv"; @@ -162,6 +163,8 @@ OpMult::init(std::vector> tensors) std::vector shaderFileData(shaderDataRaw, shaderDataRaw + shaderFileSize); #endif + SPDLOG_DEBUG("Kompute OpMult Initialising algorithm component"); + this->mAlgorithm->init(shaderFileData, tensors); }