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

HIP support #166

Open
psychocoderHPC opened this issue Feb 6, 2020 · 4 comments
Open

HIP support #166

psychocoderHPC opened this issue Feb 6, 2020 · 4 comments
Assignees
Labels

Comments

@psychocoderHPC
Copy link
Member

I am currently working on a native version for HIP https://github.com/psychocoderHPC/picongpu/tree/topic-hip-amd-benachmark/thirdParty/mallocMC.

This is only a prototype, I will port it soon to CUPLA to support different backend e.g. CUDA/HIP and CPU.

@psychocoderHPC psychocoderHPC self-assigned this Feb 6, 2020
@psychocoderHPC
Copy link
Member Author

for the record: @saipavankalyan also started to port mallocMC and reported linker issues with HIP-hcc ROCm/HIP#1849

@psychocoderHPC
Copy link
Member Author

HIP prototype https://github.com/psychocoderHPC/mallocMC/tree/topic-hip-port
Currently the cmake is not updated

@psychocoderHPC
Copy link
Member Author

psychocoderHPC commented Feb 11, 2020

https://github.com/psychocoderHPC/mallocMC/tree/topic-hip-port contains now support for all variations of HIP. ATTENTION: HIP-hcc uses a workaround where the mallocMC heap is not freed when the heap object is destructed. I added the support only as proof of work, you should not use HIP-hcc anymore.

  • HIP-nvcc
cmake ../mallocMC/ -D mallocMC_HIP_PLATFORM=nvcc
make -j examples
  • HIP-clang
cmake ../mallocMC/ -D mallocMC_HIP_PLATFORM=clang
make -j examples
  • HIP-hcc
cmake ../mallocMC/ -D mallocMC_HIP_PLATFORM=hcc
make -j examples

@psychocoderHPC psychocoderHPC mentioned this issue May 18, 2020
1 task
@chillenzer
Copy link

We can close this, right?

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

No branches or pull requests

2 participants