codeplaysoftware / cuda-to-sycl-nbody Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello,
I've successfully build the CUDA version of the code.
Is it possible to measure performance without relying on OpenGL or Xvfb ?
In a public supercomputer environment, it is very difficult to request installation of dependencies required for running the test.
Spack
. However, as mentioned in the repo, running the code through X-tunneling is not recommended.Xvfb
, it is part of Xorg
, and we cannot request installation of these packages in a shared environment.Also, when running CUDA version, the following error is generated on CentOS 7.9
$ ./nbody_cuda
Error id : 65543, GLX: Failed to create context: 161
I appreciate if you can provide some suggestion to circumvent these issues.
Regards.
As reported by @irudkin in #23 users compiling the project with oneAPI Base Toolkit 2023.0.0 and the corresponding SYCL CUDA backend plugin may run into some release-specific compilation issues. Namely:
dpcpp
executable is deprecated and replaced with icpx -fsycl
A suggested solution:
dpcpp
check in src_sycl/CMakeLists.txt
with an icpx
checkI tried the DPCT tool from Syclomatic. It does not generate the cast...
sycl::rsqrt((double)dist_sqr * dist_sqr * dist_sqr);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.