mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-14 12:11:21 +01:00
parent
3bc08136ff
commit
29fb758e62
@ -231,6 +231,10 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (buffer) {
|
||||||
|
checkCudaErrors(cudaFree(buffer));
|
||||||
|
}
|
||||||
|
|
||||||
cusparseDestroy(cusparseHandle);
|
cusparseDestroy(cusparseHandle);
|
||||||
cublasDestroy(cublasHandle);
|
cublasDestroy(cublasHandle);
|
||||||
if (matA) {
|
if (matA) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user