View Single Post
Old 2020-12-06, 16:24   #3441
axn
 
axn's Avatar
 
Jun 2003

4,919 Posts
Default

Ok, so a bit of a long shot.

In mfaktc.c, under int tf(mystuff_t *mystuff, int class_hint, unsigned long long int k_hint, int kernel)

there is a section...

Code:
        if(cudaError != cudaSuccess)
        {
          printf("ERROR: cudaGetLastError() returned %d: %s\n", cudaError, cudaGetErrorString(cudaError));
          return RET_CUDA_ERROR; /* bail out, we might have a serios problem (detected by cudaGetLastError())... */
        }
modify that to...
Code:
        if(cudaError != cudaSuccess && cudaError != cudaErrorInvalidDeviceFunction)
        {
          printf("ERROR: cudaGetLastError() returned %d: %s\n", cudaError, cudaGetErrorString(cudaError));
          return RET_CUDA_ERROR; /* bail out, we might have a serios problem (detected by cudaGetLastError())... */
        }
to ignore that specific error. See if that allows you to get past the error and pass the self tests (-st and -st2). If all checks out, try a few tests with knows factors. If all of that works out, keep going with it.

I'm assuming that that particular error is benign (considering linux works).
axn is online now   Reply With Quote