Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

validation errors #4

Closed
KlausT opened this issue Sep 24, 2016 · 7 comments
Closed

validation errors #4

KlausT opened this issue Sep 24, 2016 · 7 comments
Labels

Comments

@KlausT
Copy link
Owner

KlausT commented Sep 24, 2016

Looks like the 64bit build with CUDA 7.5 is broken.
At least under Windows.

@KlausT KlausT added the bug label Sep 24, 2016
@ZeroASIC
Copy link

CUDA 7.5 gives a memcpy error on Ubuntu 16.04 64bit. I tracked down a bug for a different project that suggests it might be fixed in CUDA 8.0.

Here's the error I get:
/usr/include/string.h: In function ‘void* mempcpy_inline(void, const void, size_t)’:
/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
return (char *) memcpy (__dest, __src, __n) + __n;

Here's the issue for the other project
BVLC/caffe#4046

@KlausT
Copy link
Owner Author

KlausT commented Sep 25, 2016

I think you get this error because the gcc version is not compatible with your CUDA version.

@ZeroASIC
Copy link

ZeroASIC commented Sep 25, 2016

i just got it to compile by adding -D_FORCE_INLINES to line 394 of the makefile:
NVCC_GENCODE = -D_FORCE_INLINES -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" all: cpuminer-config.h

@KlausT KlausT changed the title verification errors validation errors Sep 28, 2016
@KlausT
Copy link
Owner Author

KlausT commented Sep 28, 2016

Looks like CUDA 7.5 is generally broken.
CUDA 6.5 works without errors, but is not as fast for Pascal cards.
Since Nvidia has released CUDA 8 now, I will test this.

@KlausT
Copy link
Owner Author

KlausT commented Sep 28, 2016

ok, I have tested CUDA 8 now.
Works great, no validation errors.
Using CUDA 8 is recommended now, at least for Maxwell and Pascal cards.

@ceozero
Copy link

ceozero commented Sep 29, 2016

ccminer-cryptonight is not the cudart32_80.dll... where is the cudart32_80.dll? thank you.

@KlausT
Copy link
Owner Author

KlausT commented Sep 29, 2016

the dll is build into the exe
It should work without it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants