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

accelerating spatial samplers #85

Open
SLongshaw opened this issue Mar 4, 2022 · 1 comment
Open

accelerating spatial samplers #85

SLongshaw opened this issue Mar 4, 2022 · 1 comment

Comments

@SLongshaw
Copy link
Member

The spatial samplers are all currently done as single threaded function call on the CPU, there might be scope for accelerating the majority for many-core architectures given they basically all loop over a set of points.

Immediate issues:

  1. Memory transfer - the cell list is built for each data frame, so either that or the individual "data_points" subset found from the cell list would need to be transferred - this will be costly and hard to hide, might be scope for using CUDA MPI type approach.
  2. The calls to filter() usually work on small subsets (< 50 points) - these would need to be bundled up and run in parallel to make the most of a GPU.
  3. Ideally a solution should be hardware agnostic, so should be focused either on low-level like OpenCL or higher-level like SYCL type approach.
@SLongshaw
Copy link
Member Author

Work is currently underway through a funded Intel oneAPI Centre of Excellence to accelerate parts of the library that rely on linear algebra (e.g. Radial Basis) using SYCL

https://www.scd.stfc.ac.uk/Pages/STFC-oneAPI-Centre.aspx

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

No branches or pull requests

1 participant