caffe icon indicating copy to clipboard operation
caffe copied to clipboard

caffe_copy error in CPU

Open thuanvh opened this issue 12 years ago • 1 comments

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 avatar Jul 07 '14 10:07 thuanvh

Same as #633

thuanvh avatar Jul 07 '14 10:07 thuanvh