Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant