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

caffe_copy error in CPU #635

Closed
thuanvh opened this issue Jul 7, 2014 · 1 comment
Closed

caffe_copy error in CPU #635

thuanvh opened this issue Jul 7, 2014 · 1 comment

Comments

@thuanvh
Copy link

thuanvh commented Jul 7, 2014

I am using CPU and compile dev caffe branch code.
In running, I fall in error of caffe_copy function of math_functions.cpp

template <typename Dtype>
void caffe_copy(const int N, const Dtype* X, Dtype* Y) {
  if (X != Y) {
    CUDA_CHECK(cudaMemcpy(Y, X, sizeof(Dtype) * N, cudaMemcpyDefault));
  }
}

template void caffe_copy<int>(const int N, const int* X, int* Y);
template void caffe_copy<unsigned int>(const int N, const unsigned int* X,
    unsigned int* Y);
template void caffe_copy<float>(const int N, const float* X, float* Y);
template void caffe_copy<double>(const int N, const double* X, double* Y);

Error:
F0707 17:17:38.314750 16392 math_functions.cpp:156] Check failed: error == cudaS
uccess (35 vs. 0) CUDA driver version is insufficient for CUDA runtime version

@thuanvh
Copy link
Author

thuanvh commented Jul 7, 2014

Same as #633

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

1 participant