Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code & binaries updated with libsvm version 3.17 & CUDA SDK version 5.5 Details: Exchanged the header file “cublas.h” for “cublas_v2.h”. Exchanged the type cublasStatus for cublasStatus_t. Exchanged the function cublasAlloc() and cublasFree() for cudaMalloc() and cudaFree(), respectively. Declared the cublasHandle_t CUBLAS library handle. Initialized the handle using cublasCreate(). Also, released the handle once finished using cublasDestroy(). Added the handle as the first parameter to all the CUBLAS library function calls. Changed the scalar parameters to be passed by reference, instead of by value (usually simply adding “&” symbol in C/C++ is enough, because the parameters are passed by reference on the host by default). Changed the parameter characters 'N' or 'n' (non-transpose operation), to CUBLAS_OP_N. Checked the function prototypes in the header files “cublas.h” and “cublas_v2.h” for code correctness.
- Loading branch information