Hi David,

It should be possible on JLSE on the V100 nodes (gpu_v100_smx2).

After logging into a node with a V100, could you try:
```
module load public_llvm_intel_sycl/20200519-cuda
```
and then compile with 
```
clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda-sycldevice -Xsycl-target-backend=nvptx64-nvidia-cuda-sycldevice '--cuda-gpu-arch=sm_70' test.cpp
```

and let us know if it works ok?

Thanks,
Colleen

From: Ecp-aurora-sdk-discuss <ecp-aurora-sdk-discuss-bounces@lists.jlse.anl.gov> on behalf of David Poole via Ecp-aurora-sdk-discuss <ecp-aurora-sdk-discuss@lists.jlse.anl.gov>
Sent: Thursday, July 16, 2020 2:20 PM
To: ecp-aurora-sdk-discuss@jlse.anl.gov <ecp-aurora-sdk-discuss@jlse.anl.gov>
Subject: [Ecp-aurora-sdk-discuss] Running SYCL/DPC++ Code on NVIDIA GPUs
 
Hi all,

My team and I have been working on porting our codebase from CUDA to
DPC++, via construction of a mini-app. This process has been going
rather well when it comes to running on the Iris Gen9 GPU. However, I
have also had an interest in getting the ported DPC++ code to run on
NVIDIA GPUs.

What I am wondering is, is it possible to run SYCL/DPC++ code on
NVIDIA GPUs at the moment? Based on my experiments and the contents of
https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-system-requirements-beta.html,
my suspicion is that it is not yet; but I may be wrong about that. And
if it is currently possible to run SYCL/DPC++ code on NVIDIA GPUs, how
would one go about that?

Thank you very much in advance!

Sincerely,
-David Poole

-----------------------------------------------
"It is the mark of an educated mind to
be able to entertain a thought without
accepting it." - Aristotle

David Poole
Iowa State University
201 Spedding Hall
davpoole@iastate.edu

"I would rather have questions that can't
be answered than answers that can't be
questioned." - Richard Feynman

"For me, I am driven by two main
philosophies: know more today about
the world than I knew yesterday and
lessen the suffering of others. You'd
be surprised how far that gets
you. " - Neil deGrasse Tyson
-----------------------------------------------
--
Ecp-aurora-sdk-discuss mailing list
Ecp-aurora-sdk-discuss@lists.jlse.anl.gov
https://lists.jlse.anl.gov/mailman/listinfo/ecp-aurora-sdk-discuss