From b3c536a6ede27aed6e81094ad52eefd329dad2e6 Mon Sep 17 00:00:00 2001
From: RafaeNoor <abdurrafae98@live.com>
Date: Sat, 16 Apr 2022 14:04:31 -0500
Subject: [PATCH] Fixed HPVM tutorial commands

---
 hpvm/docs/tutorials/1-heterocpp.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/hpvm/docs/tutorials/1-heterocpp.rst b/hpvm/docs/tutorials/1-heterocpp.rst
index fdec2c435d..fd97d5b3fc 100644
--- a/hpvm/docs/tutorials/1-heterocpp.rst
+++ b/hpvm/docs/tutorials/1-heterocpp.rst
@@ -187,7 +187,7 @@ To compile the matrix multiplication program to the CPU we run the following com
 
 .. code:: console
 
-    hpvm-clang -DDEVICE=CPU_TARGET --hetero-cc --hpvm-target -cpu src/matmul.cc -o src/matmul.cpu
+    hpvm-clang -DDEVICE=CPU_TARGET --hetero-cc --hpvm-target cpu src/matmul.cc  src/matmul.cpu
 
 
 The above command would run the ``Hetero-C++`` frontend and the ``HPVM`` Backend transformations to generate the executable ``src/matmul.cpu``. The `-DDEVICE` preprocessor directive simply sets the `__hetero_hint` argument to specify the node should be compiled to the CPU.
@@ -201,7 +201,7 @@ To compile the matrix multiplication program to the GPU we run the following com
 
 .. code:: console
 
-    hpvm-clang -DDEVICE=GPU_TARGET --hetero-cc --hpvm-target gpu src/matmul.cc -o src/matmul.gpu
+    hpvm-clang -DDEVICE=GPU_TARGET --hetero-cc --hpvm-target gpu src/matmul.cc  src/matmul.gpu
 
 
 
@@ -214,7 +214,7 @@ To compile the matrix multiplication program to the FPGA we run the following co
 
 .. code:: console
 
-    hpvm-clang -DDEVICE=FPGA_TARGET --hetero-cc --hpvm-target gpu src/matmul.cc -o src/matmul.FPGA
+    hpvm-clang -DDEVICE=FPGA_TARGET --hetero-cc --hpvm-target fpga src/matmul.cc  src/matmul.FPGA
 
 
 The above command would run the ``Hetero-C++`` frontend and the ``HPVM`` Backend transformations to generate the executable ``src/matmul.fpga`` along with the OpenCL kernel which will execute on the FPGA.
-- 
GitLab