Program Listing for File utils_cuda.cuh
↰ Return to documentation for file (src/sparsebase/utils/utils_cuda.cuh
)
#ifndef SPARSEBASE_PROJECT_UTILS_CUDA_CUH
#define SPARSEBASE_PROJECT_UTILS_CUDA_CUH
namespace sparsebase::utils {
template <typename T>
struct CUDADeleter {
void operator()(T *obj) { cudaFree(obj); }
};
} // namespace sparsebase::utils
#endif // SPARSEBASE_PROJECT_UTILS_CUDA_CUH