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

Remove Uint4 from Code Eventually #325

Open
GNiendorf opened this issue Sep 19, 2023 · 0 comments
Open

Remove Uint4 from Code Eventually #325

GNiendorf opened this issue Sep 19, 2023 · 0 comments

Comments

@GNiendorf
Copy link
Member

The current solution in the code works fine for the NVCC and CPU backends, but if we want to make use of the other backends we will have to remove uint4 to make the code completely general to whatever backend we are running.

// Needed for files that are compiled by g++ to not throw an error.
// uint4 is defined only for CUDA, so we will have to revisit this soon when running on other backends.
#ifndef ALPAKA_ACC_GPU_CUDA_ENABLED
struct uint4
{
unsigned int x;
unsigned int y;
unsigned int z;
unsigned int w;
};
#endif

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

No branches or pull requests

1 participant