diff --git a/README.md b/README.md index 9804c873..8dfb93ff 100644 --- a/README.md +++ b/README.md @@ -188,9 +188,11 @@ If you are using DPC++ there is no CMake integration, but it is very simple to use the DPC++ compiler directly. First you have to ensure that your environment is configured to use DPC++ (note -if you are using the Intel DevCloud then you don't need to do this step). Simply -call the `setvars.sh` which when is available in `/opt/intel/inteloneapi` when -installed as root or sudo and `~/intel/inteloneapi/` otherwise. +if you are using the Intel DevCloud then you don't need to do this step). + +On Linux simply call the `setvars.sh` which when is available in +`/opt/intel/inteloneapi` when installed as root or sudo and +`~/intel/inteloneapi/` otherwise. `source /opt/intel/inteloneapi/setvars.sh` @@ -198,6 +200,11 @@ or `source ~/intel/inteloneapi/setvars.sh` +On Windows the script is located in `\setvars.bat` + +Where `` is wherever the `inteloneapi` directory is +installed. + Once that's done you can invoke the DPC++ compiler as follows: `dpcpp -I/External/Catch2/single_include -o a.out source.cpp`