From b243d432c13371ea7410e79ceb4179fbbbb9ab3c Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Tue, 9 Feb 2021 21:30:22 +0000 Subject: [PATCH] Updated readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4b199fa..3b96a4c 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,9 @@ int main() { kp::Manager mgr; // 2. Create and initialise Kompute Tensors through manager - auto tensorInA = mgr.buildTensor({ 2., 2., 2. }); - auto tensorInB = mgr.buildTensor({ 1., 2., 3. }); - auto tensorOut = mgr.buildTensor({ 0., 0., 0. }); + auto tensorInA = mgr.tensor({ 2., 2., 2. }); + auto tensorInB = mgr.tensor({ 1., 2., 3. }); + auto tensorOut = mgr.tensor({ 0., 0., 0. }); // 3. Specify "multiply shader" code (can also be raw string, spir-v bytes or file path) std::string shaderString = (R"(