Header file for using the mlsa algorithm using cuda functions with GPUs.
More...
Go to the source code of this file.
|
int | dmlsa_cuda (const int m, const int n, const int k, const double *A, double *W, double *H, const int uType, const int nIter) |
|
int | smlsa_cuda (const int m, const int n, const int k, const float *A, float *W, float *H, const int uType, const int nIter) |
|
void | ddotdiv_cuda (const int n, const double *x, const double *y, double *z, cudaStream_t stream) |
|
void | sdotdiv_cuda (const int n, const float *x, const float *y, float *z, cudaStream_t stream) |
|
__global__ void | vddotdiv_cuda (const int n, const double *__restrict__ x, const double *__restrict__ y, double *z) |
|
__global__ void | vsdotdiv_cuda (const int n, const float *__restrict__ x, const float *__restrict__ y, float *z) |
|
Header file for using the mlsa algorithm using cuda functions with GPUs.
- Author
- Information Retrieval and Parallel Computing Group (IRPCG)
-
University of Oviedo, Spain
-
Interdisciplinary Computation and Communication Group (INCO2)
-
Universitat Politecnica de Valencia, Spain.
-
Contact: nnmfp.nosp@m.ack@.nosp@m.gmail.nosp@m..com
- Date
- 04/11/14
Definition in file mlsa_cuda.h.
◆ ddotdiv_cuda()
void ddotdiv_cuda |
( |
const int |
n, |
|
|
const double * |
x, |
|
|
const double * |
y, |
|
|
double * |
z, |
|
|
cudaStream_t |
stream |
|
) |
| |
◆ dmlsa_cuda()
int dmlsa_cuda |
( |
const int |
m, |
|
|
const int |
n, |
|
|
const int |
k, |
|
|
const double * |
A, |
|
|
double * |
W, |
|
|
double * |
H, |
|
|
const int |
uType, |
|
|
const int |
nIter |
|
) |
| |
◆ sdotdiv_cuda()
void sdotdiv_cuda |
( |
const int |
n, |
|
|
const float * |
x, |
|
|
const float * |
y, |
|
|
float * |
z, |
|
|
cudaStream_t |
stream |
|
) |
| |
◆ smlsa_cuda()
int smlsa_cuda |
( |
const int |
m, |
|
|
const int |
n, |
|
|
const int |
k, |
|
|
const float * |
A, |
|
|
float * |
W, |
|
|
float * |
H, |
|
|
const int |
uType, |
|
|
const int |
nIter |
|
) |
| |
◆ vddotdiv_cuda()
__global__ void vddotdiv_cuda |
( |
const int |
n, |
|
|
const double *__restrict__ |
x, |
|
|
const double *__restrict__ |
y, |
|
|
double * |
z |
|
) |
| |
◆ vsdotdiv_cuda()
__global__ void vsdotdiv_cuda |
( |
const int |
n, |
|
|
const float *__restrict__ |
x, |
|
|
const float *__restrict__ |
y, |
|
|
float * |
z |
|
) |
| |