From a4523338be45d78806f1a5e35cdc2a1a69e9b169 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Sat, 7 Nov 2020 18:42:51 +0000 Subject: [PATCH] Updated python function to be updated to py::bytes --- python/src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python/src/main.cpp b/python/src/main.cpp index f368d77ae..52b39eb9a 100644 --- a/python/src/main.cpp +++ b/python/src/main.cpp @@ -72,7 +72,7 @@ PYBIND11_MODULE(kp, m) { "Records operation to run multiplication compute shader to two input tensors and an output tensor") .def("record_algo_file", &kp::Sequence::record, "Records an operation using a custom shader provided from a shader path") - .def("record_algo_data", &kp::Sequence::record>, + .def("record_algo_data", &kp::Sequence::record, "Records an operation using a custom shader provided as raw string or spirv bytes") .def("record_algo_lro", &kp::Sequence::record, "Records operation to run left right out operation with custom shader"); @@ -112,7 +112,7 @@ PYBIND11_MODULE(kp, m) { "Evaluates operation to run multiplication compute shader to two input tensors and an output tensor with new anonymous Sequence") .def("eval_algo_file_def", &kp::Manager::evalOpDefault, "Evaluates an operation using a custom shader provided from a shader path with new anonymous Sequence") - .def("eval_algo_data_def", &kp::Manager::evalOpDefault>, + .def("eval_algo_data_def", &kp::Manager::evalOpDefault, "Evaluates an operation using a custom shader provided as raw string or spirv bytes with new anonymous Sequence") .def("eval_algo_lro_def", &kp::Manager::evalOpDefault, "Evaluates operation to run left right out operation with custom shader with new anonymous Sequence") @@ -129,7 +129,7 @@ PYBIND11_MODULE(kp, m) { "Evaluates operation to run multiplication compute shader to two input tensors and an output tensor with explicitly named Sequence") .def("eval_algo_file", &kp::Manager::evalOp, "Evaluates an operation using a custom shader provided from a shader path with explicitly named Sequence") - .def("eval_algo_data", &kp::Manager::evalOp>, + .def("eval_algo_data", &kp::Manager::evalOp, "Evaluates an operation using a custom shader provided as raw string or spirv bytes with explicitly named Sequence") .def("eval_algo_lro", &kp::Manager::evalOp, "Evaluates operation to run left right out operation with custom shader with explicitly named Sequence") @@ -146,7 +146,7 @@ PYBIND11_MODULE(kp, m) { "Evaluates asynchronously operation to run multiplication compute shader to two input tensors and an output tensor with anonymous Sequence") .def("eval_async_algo_file_def", &kp::Manager::evalOpAsyncDefault, "Evaluates asynchronously an operation using a custom shader provided from a shader path with anonymous Sequence") - .def("eval_async_algo_data_def", &kp::Manager::evalOpAsyncDefault>, + .def("eval_async_algo_data_def", &kp::Manager::evalOpAsyncDefault, "Evaluates asynchronously an operation using a custom shader provided as raw string or spirv bytes with anonymous Sequence") .def("eval_async_algo_lro_def", &kp::Manager::evalOpAsyncDefault, "Evaluates asynchronously operation to run left right out operation with custom shader with anonymous Sequence") @@ -163,7 +163,7 @@ PYBIND11_MODULE(kp, m) { "Evaluates asynchronously operation to run multiplication compute shader to two input tensors and an output tensor with explicitly named Sequence") .def("eval_async_algo_file", &kp::Manager::evalOpAsync, "Evaluates asynchronously an operation using a custom shader provided from a shader path with explicitly named Sequence") - .def("eval_async_algo_data", &kp::Manager::evalOpAsync>, + .def("eval_async_algo_data", &kp::Manager::evalOpAsync, "Evaluates asynchronously an operation using a custom shader provided as raw string or spirv bytes with explicitly named Sequence") .def("eval_async_algo_lro", &kp::Manager::evalOpAsync, "Evaluates asynchronously operation to run left right out operation with custom shader with explicitly named Sequence");