Cudafy.Maths Error: ArchMismatch

Mar 5, 2012 at 8:24 AM


By running Cudafy.Math.UnitTests, I get the following errors:

"BLAS/Sparse error: ArchMismatch"


I know I only have a 1.1 capable card. For example, I had to specify my card architecture in the CudaByExamples project in order to make it worked:


CudafyModule km = CudafyTranslator.Cudafy(eArchitecture.sm_11);

 GPGPU gpu = CudafyHost.GetDevice(CudafyModes.Target);



Please, how could I specify the architecture of the GPU device while using Cublas or Cusparse wrapped libraries?

Mar 5, 2012 at 1:19 PM

Indeed, I figured out what was the problem:

Double-precision routines (like gemv) in cuBLAS are only supported starting from 1.3 capable cards. By using a single-precision routine, it worked. There might be similar problems, using the library cuSPARSE.