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

add special kernel methods #18

Closed
2 of 3 tasks
BenjaminW3 opened this issue Nov 26, 2014 · 7 comments
Closed
2 of 3 tasks

add special kernel methods #18

BenjaminW3 opened this issue Nov 26, 2014 · 7 comments
Assignees
Projects
Milestone

Comments

@BenjaminW3
Copy link
Member

BenjaminW3 commented Nov 26, 2014

  • clock_t clock();
    long long int clock64();
  • T __ldg(const T* address);
    The read-only data cache load function is only supported by devices of compute capability 3.5 and higher.
  • __shfl_sync, __shfl_up_sync, __shfl_down_sync, __shfl_xor_sync
    Exchange a variable between threads within a warp.
@felicepantaleo
Copy link
Contributor

just checking if there is any plan on this

@psychocoderHPC
Copy link
Member

just checking if there is any plan on this

You increased the priority for this features by +1

@BenjaminW3
Copy link
Member Author

Are you more interested in ldg or shfl?

@psychocoderHPC
Copy link
Member

The request in our internal Mattermost was for __ballot_sync() and __shfl_up_sync(). I also see shuffle as more important as __ldg()

Note: CUDA has __ballot (asynchronous) and __ballot_sync()

@j-stephan j-stephan added this to To do in Release 0.7 via automation Jan 26, 2021
@j-stephan j-stephan added this to the Version 0.7.0 milestone Jan 26, 2021
@j-stephan
Copy link
Member

We will implement these intrinsics for alpaka 0.7.0.

@sbastrakov
Copy link
Member

The shuffle part was implemented in #1273 (not by me, but it's now in).

@j-stephan
Copy link
Member

2/3 of the methods mentioned here have already been implemented. The remaining functionality will be tracked in #1312 (for easier project management).

Release 0.7 automation moved this from To do to Done May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

5 participants