trove icon indicating copy to clipboard operation
trove copied to clipboard

nvcc dies with 128-bit structures

Open ufimtsev opened this issue 11 years ago • 1 comments

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<WU32> p(in); WU32 r = p[tid]; trove::store_warp_contiguous(r, out+tid); }

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

ufimtsev avatar Apr 18 '13 21:04 ufimtsev

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.

bryancatanzaro avatar Apr 18 '13 21:04 bryancatanzaro