mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Rename files to .cu and fix IDX2C usage
This commit is contained in:
13
test/test_utils/test_cublas_fixture.cu
Normal file
13
test/test_utils/test_cublas_fixture.cu
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include "cublas_v2.h"
|
||||
#include "test_cublas_fixture.h"
|
||||
|
||||
cublasHandle_t CublasTestFixture::cublasHandle;
|
||||
|
||||
void CublasTestFixture::SetUpTestSuite() {
|
||||
cublasCreate(&cublasHandle);
|
||||
}
|
||||
|
||||
void CublasTestFixture::TearDownTestSuite() {
|
||||
cublasDestroy(cublasHandle);
|
||||
}
|
||||
Reference in New Issue
Block a user