Skip to content

Conversation

@davidrohr
Copy link
Collaborator

@sgorbuno : This fixes the compilation of the new splines on the GPU. Things I had to change:

  • local is a keyword and should not be used as variable name.
  • Add GPUd() to all functions to be used on GPU.
  • Fix some compiler warnings.
  • While std::array works with OpenCL, it seems structured binding cannot work by design, since they rely on std::tuple_element, which is not supported. I thus had to change the code slightly to not use structured bindings.

@davidrohr davidrohr requested a review from sgorbuno as a code owner September 1, 2025 13:55
@sgorbuno sgorbuno merged commit 037a804 into sgorbuno:splines Sep 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants