提交 31a2fdb2 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Merge pull request #1599 from nouiz/win_gpu

Fix compilation of the GPU back-end on windows.
......@@ -528,7 +528,7 @@ DllExport int CudaNdarray_inplace_elemwise(PyObject* py_self, PyObject * py_othe
DllExport int CudaNdarray_prep_output(CudaNdarray ** arr, int nd,
const int * dims);
DllExport const char* cublasGetErrorString(cublasStatus err){
DllExport inline const char* ALWAYS_INLINE cublasGetErrorString(cublasStatus err){
if(CUBLAS_STATUS_SUCCESS == err)
return "success";
else if(CUBLAS_STATUS_NOT_INITIALIZED == err)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论