Skip to content

Commit

Permalink
Merge pull request #143 from codeplaysoftware/rod-090522
Browse files Browse the repository at this point in the history
Edits to compile source not solution
  • Loading branch information
rodburns authored May 9, 2022
2 parents 8699afb + 30f3f19 commit d927346
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Code_Exercises/Exercise_02_Hello_World/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
source /opt/intel/oneapi/setvars.sh > /dev/null 2>&1
/bin/echo "##" $(whoami) is compiling
dpcpp solution.cpp
dpcpp source.cpp
if [ $? -eq 0 ]; then ./a.out; fi

2 changes: 1 addition & 1 deletion Code_Exercises/Exercise_03_Scalar_Add/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
source /opt/intel/oneapi/setvars.sh > /dev/null 2>&1
/bin/echo "##" $(whoami) is compiling
dpcpp solution.cpp
dpcpp source.cpp
if [ $? -eq 0 ]; then ./a.out; fi

2 changes: 1 addition & 1 deletion Code_Exercises/Exercise_04_ND_Range_Kernel/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
source /opt/intel/oneapi/setvars.sh > /dev/null 2>&1
/bin/echo "##" $(whoami) is compiling
dpcpp solution.cpp
dpcpp source.cpp
if [ $? -eq 0 ]; then ./a.out; fi

0 comments on commit d927346

Please sign in to comment.