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

nvcc dies with 128-bit structures #1

Open
ufimtsev opened this issue Apr 18, 2013 · 1 comment
Open

nvcc dies with 128-bit structures #1

ufimtsev opened this issue Apr 18, 2013 · 1 comment
Assignees

Comments

@ufimtsev
Copy link

The following code crashes nvcc5. Compile with
nvcc main.cu -Itrove-master -arch=compute_35

include <trove/ptr.h>

struct WU32
{
unsigned int data[32];
};

global void kernel(WU32* in, WU32* out)
{
int tid = blockIdx.x*blockDim.x + threadIdx.x;
trove::coalesced_ptr p(in);
WU32 r = p[tid];
trove::store_warp_contiguous(r, out+tid);
}

int main(int argc, char** argv)
{
return 0;
}

@bryancatanzaro
Copy link
Owner

Thanks for reporting this. I have reproduced this bug under CUDA 5.0.

The good news is that my internal nvcc build does not exhibit this bug. I expect the next public CUDA release will fix it.

@ghost ghost assigned bryancatanzaro Apr 18, 2013
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

2 participants