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

Expose C++ threads backend #2694

Closed
ma-we opened this issue Aug 29, 2018 · 5 comments
Closed

Expose C++ threads backend #2694

ma-we opened this issue Aug 29, 2018 · 5 comments
Assignees
Labels
backend: C++ threads C++ threads CPU backend question

Comments

@ma-we
Copy link

ma-we commented Aug 29, 2018

I like to use the C++ thread backend of Alpaka. Right now I can only choose cuda, omp2b, serial, tbb in pic-configure.

@ax3l
Copy link
Member

ax3l commented Aug 29, 2018

@psychocoderHPC can we expose this already? Even if it's not useful performance-wise @ma-we would like to test if it works well with Score-P.

@psychocoderHPC
Copy link
Member

psychocoderHPC commented Aug 29, 2018 via email

@ax3l
Copy link
Member

ax3l commented Aug 29, 2018

@psychocoderHPC yes, I thought so. We probably would need a threadBlocks implementation in alpaka to make this backend anywhere near to performant. (And even then, the backends with preemptive multithreading such as omp2b and boost.fiber will be way more efficient.)

Anyway, the idea here is just to check if our implementation of C++(11?) threads can be captured by Score-P.

@psychocoderHPC
Copy link
Member

psychocoderHPC commented Sep 5, 2018

I exposed the c++ threads in #2701 to the PIConGPU user.

Set export PIC_BACKEND=threads or run pic-configure -b threads to select the C++11 thread backend. WARNING: Your program will run really slow with this backend.

@psychocoderHPC
Copy link
Member

solved by #2701

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: C++ threads C++ threads CPU backend question
Projects
None yet
Development

No branches or pull requests

3 participants