Git Product home page Git Product logo

cuda-to-sycl-nbody's Issues

Measure Performance without OpenGL

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.

  • In case of GLM, GLFW, and GLEW, I was able to install them locally via Spack. However, as mentioned in the repo, running the code through X-tunneling is not recommended.
  • In case of 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.

double cast by dpct

I tried the DPCT tool from Syclomatic. It does not generate the cast...

sycl::rsqrt((double)dist_sqr * dist_sqr * dist_sqr);

Compilation issues with oneAPI Base Toolkit 2023.0.0

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:

A suggested solution:

  1. Replace dpcpp check in src_sycl/CMakeLists.txt with an icpx check
  2. Link the troubleshooting guide in the README

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.