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

CUDA error: invalid texture reference : GPU-dtw.cu, line 46 #2

Open
astanway opened this issue Nov 11, 2014 · 1 comment
Open

CUDA error: invalid texture reference : GPU-dtw.cu, line 46 #2

astanway opened this issue Nov 11, 2014 · 1 comment

Comments

@astanway
Copy link

= info =====================================
|Query| = 10    |Subject| = 100 window = 10
CUDA error: invalid texture reference : GPU-dtw.cu, line 46 

I get the above error when calling the following:
./GPU-DTW data/ecg/single_query1.bin data/ecg/single_subject.bin 10 100 100

Perhaps I'm not calling the binary correctly? I'm not really sure what I the arguments mean.

@lennart
Copy link

lennart commented Dec 7, 2014

just wanted to share some information about this error (I experience this as well):

it seems that the hardware we use is not compatible with the binaries compiled via nvcc.
currently it is built for Hardware with Major version 3 minor 5 (hence the --arch=sm_35) flag in the makefile.

However I run on a GeForce 9400 which is Major 1 minor 1 so it would be needed to compile for this architecture as well (sm_11). Apart from these oldish Architectures being deprecated by the latest CUDA 5.5 it won't compile the code:

running with
ARCH= -arch=compute_11 -code=sm_11

I end up with:

...
ptxas /var/folders/k9/48249tb92vz_f5fmtmpgk8t80000gn/T//tmpxft_00007ab3_00000000-5_GPU-dtw.ptx, line 132; warning : Double is not supported. Demoting to float
ptxas error   : Entry function '_Z11thread_cdtwILb1EfiEvPT0_S1_S1_S1_T1_PS2_S2_S2_' uses too much local data (0x8008 bytes, 0x4000 max)
...

Not sure how to work around this, but still this seems to explain why the binaries won't work, though being compiled correctly with sm_35.

regards

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