From 78f06f2992304082d8023aaebd389e22218b7005 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Mon, 25 Jan 2021 07:08:37 +0000 Subject: [PATCH] Fixed example in readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cad903a43..ab9fca436 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ In both examples the steps carried out will include: 1. Create Kompute Manager with default settings (device 0 and first compute compatible queue) 2. Create and initialise Kompute Tensors through manager 3. Specify "multiply shader" code (can also be raw string, spir-v bytes or file path) -4. Run multiplication operation synchronously +4. Run operation with string shader synchronously 5. Map results back from GPU memory to print the results #### Simple C++ Example @@ -160,8 +160,8 @@ int main() { } )"); - // 3. Run multiplication operation synchronously - mgr.evalOpDefault( + // 3. Run operation with string shader synchronously + mgr.evalOpDefault( { tensorInA, tensorInB, tensorOut }, std::vector(shaderString.begin(), shaderString.end()));