CUDA Networks
|
GPU implementation of the column-wise argmax function for matrices. More...
Go to the source code of this file.
Functions | |
__global__ void | argmax_GPU (const double *m, double *result, int rows, int cols) |
CUDA kernel for computing the argmax of each column in a matrix. More... | |
GPU implementation of the column-wise argmax function for matrices.
Definition in file matrix_argmax.cu.
__global__ void argmax_GPU | ( | const double * | m, |
double * | result, | ||
int | rows, | ||
int | cols | ||
) |
CUDA kernel for computing the argmax of each column in a matrix.
m | Pointer to the matrix data on the GPU. |
result | Pointer to the result vector on the GPU. |
rows | Number of rows in the matrix. |
cols | Number of columns in the matrix. |
Definition at line 16 of file matrix_argmax.cu.