updated pytests and fixed dangling spdlog code in python main.cpp

This commit is contained in:
Alejandro Saucedo
2021-02-14 17:16:47 +00:00
parent 5c7364f203
commit 95df064dbb
3 changed files with 2 additions and 7 deletions

View File

@@ -11,8 +11,6 @@ namespace py = pybind11;
py::object kp_debug, kp_info, kp_warning, kp_error;
PYBIND11_MODULE(kp, m) {
spdlog::set_level(
static_cast<spdlog::level::level_enum>(0));
// The logging modules are used in the Kompute.hpp file
py::module_ logging = py::module_::import("logging");

View File

@@ -41,7 +41,7 @@ def test_opalgobase_file():
mgr = kp.Manager()
mgr.rebuild([tensor_in_a, tensor_in_b, tensor_out])
shader_path = os.path.join(DIRNAME, "../../shaders/glsl/opmult.comp")
shader_path = os.path.join(DIRNAME, "../../shaders/glsl/opmult.comp.spv")
mgr.eval_algo_file_def([tensor_in_a, tensor_in_b, tensor_out], shader_path)