Download include/cholmod_gpu_kernels.h from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 1.64 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/include/cholmod_gpu_kernels.h
- Command line
-
hf download hf://camenduru/slahmr-test/include/cholmod_gpu_kernels.h
-
curl -L -o cholmod_gpu_kernels.h https://huggingface.co/camenduru/slahmr-test/resolve/main/include/cholmod_gpu_kernels.h
1.64 kB
| /* ========================================================================== */ | |
| /* === Include/cholmod_gpu_kernels.h ======================================== */ | |
| /* ========================================================================== */ | |
| /* ----------------------------------------------------------------------------- | |
| * CHOLMOD/Include/cholmod_gpu_kernels.h. | |
| * Copyright (C) 2014, Timothy A. Davis | |
| * http://www.suitesparse.com | |
| * -------------------------------------------------------------------------- */ | |
| /* ----------------------------------------------------------------------------- | |
| * CUDA kernel support routines for CHOLMOD | |
| * -------------------------------------------------------------------------- */ | |
| /* make it easy for C++ programs to include CHOLMOD */ | |
| extern "C" { | |
| int createMapOnDevice ( Int *d_Map, Int *d_Ls, Int psi, Int nsrow ); | |
| int createRelativeMapOnDevice ( Int *d_Map, Int *d_Ls, Int *d_RelativeMap, | |
| Int pdi1, Int ndrow, cudaStream_t astream ); | |
| int addUpateOnDevice ( double *d_A, double *devPtrC, Int *d_RelativeMap, | |
| Int ndrow1, Int ndrow2, Int nsrow, cudaStream_t astream ); | |
| int addComplexUpateOnDevice ( double *d_A, double *devPtrC, Int *d_RelativeMap, | |
| Int ndrow1, Int ndrow2, Int nsrow, cudaStream_t astream ); | |
| int sumAOnDevice ( double *a1, double *a2, const double alpha, int nsrow, | |
| int nscol ); | |
| int sumComplexAOnDevice ( double *a1, double *a2, const double alpha, | |
| int nsrow, int nscol ); | |
| } | |