Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filling tank case SYCL implementation #657

Open
Xiangyu-Hu opened this issue Sep 14, 2024 · 1 comment
Open

Filling tank case SYCL implementation #657

Xiangyu-Hu opened this issue Sep 14, 2024 · 1 comment

Comments

@Xiangyu-Hu
Copy link
Owner

There are several steps for the implementation:

  1. Devirtualize the BodyAlignedBox, including using geometric primitive other than shape (not usable due to the virtual functions) to define the box, using computing kernel to define the computing intensive (those used by particle dynamics computing kernels) functions.
  2. Write a copy state kernel so that one can copy all registered states in a variable list on device.
  3. Find something like mutex in sycl so that one can carry out the corresponding operation (transfer between real and buffer particles).
@Xiangyu-Hu
Copy link
Owner Author

The filling tank case is almost the same as the dambreak case which has implemented with SYCL.
The only difference is that there is an emitter, which need to be implemented with SYCL.
Basically, one need to do this without using std::vector and reference and other thing not bale to run on device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant