You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
349 B
13 lines
349 B
#ifndef SERIAL_KERNELS_H /* Include guard */
|
|
#define SERIAL_KERNELS_H
|
|
|
|
typedef struct{
|
|
int width;
|
|
int height;
|
|
double *elements;
|
|
} Matrix;
|
|
|
|
//Function multiply_kernel calculates the product of matrices 1 and 2 into output.
|
|
__global__ void multiply_kernel(Matrix matrix1, Matrix matrix2, Matrix output);
|
|
|
|
#endif //SERIAL_KERNELS_H
|