Skip to content

Loading…

VS2010: invalid alignment value specified by attribute #357

Closed
aniket134 opened this Issue · 2 comments

2 participants

@aniket134

./thrust/system/cuda/detail/detail/alignment.h(120): error : invalid alignment value specified by attribute
./thrust/system/cuda/detail/detail/alignment.h(125): error : invalid alignment value specified by attribute
./thrust/system/cuda/detail/detail/alignment.h(130): error : invalid alignment value specified by attribute
./thrust/system/cuda/detail/detail/alignment.h(135): error : invalid alignment value specified by attribute
./thrust/system/cuda/detail/detail/alignment.h(140): error : invalid alignment value specified by attribute
./thrust/system/cuda/detail/detail/alignment.h(145): error : invalid alignment value specified by attribute

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" --use-local-env --cl-version 2010 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include" -G0 --keep-dir "Debug" -maxrregcount=0 --machine 32 --compile -D_NEXUS_DEBUG -g -Xcompiler "/EHsc /nologo /Od /Zi /MDd " -o "Debug\vector_samples.cu.obj" "PATH\TO\version.cu"

On master branch at ef58122 commit.

@jaredhoberock
A Parallel Algorithms Library member

Does the error go away with the nvcc from CUDA version 5?

@aniket134

Yes, everything seems working fine with CUDA 5. It compiled and ran some simple vector algorithms without any problems.

@aniket134 aniket134 closed this
@aniket134 aniket134 reopened this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.