Add Kernels namespace

This commit is contained in:
2024-03-11 21:04:23 +01:00
parent e0178e2d5c
commit d2ab78fbc7
18 changed files with 188 additions and 186 deletions

View File

@@ -1,7 +1,18 @@
#ifndef CONVOLUTION_H
#define CONVOLUTION_H
__global__ void convolution_kernel(
namespace Kernels {
__global__ void padding(
const float* d_input,
float* d_padded,
int w,
int h,
int n,
int p
);
__global__ void convolution(
const float* d_input,
const float* d_kernel,
float* d_output,
@@ -13,4 +24,6 @@ __global__ void convolution_kernel(
int outputSize
);
} // namespace Kernels
#endif // CONVOLUTION_H