Пример #1
0
 /// <summary>
 /// static constructor
 /// </summary>
 static StereoBM_GPU()
 {
     try
     {
         SizeOf = (int)GpuInvoke.StereoBM_GPU_sizeof();
     }
     catch (DllNotFoundException e)
     {
         PInvokeHelper.DllImportError(e);
         throw;
     }
     catch (BadImageFormatException e)
     {
         PInvokeHelper.DllImportError(e);
         throw;
     }
     catch (Exception)
     {
         throw;
     }
 }