Add prefix to guards

This commit is contained in:
2024-03-13 22:23:23 +01:00
parent 77004c16be
commit 88f7fff217
8 changed files with 24 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
#ifndef ACTIVATIONS_H
#define ACTIVATIONS_H
#ifndef CUDANET_ACTIVATIONS_H
#define CUDANET_ACTIVATIONS_H
namespace Kernels {
@@ -25,4 +25,4 @@ relu(const float* __restrict__ src, float* __restrict__ dst, int len);
} // namespace Kernels
#endif // ACTIVATIONS_H
#endif // CUDANET_ACTIVATIONS_H

View File

@@ -1,5 +1,5 @@
#ifndef CONVOLUTION_H
#define CONVOLUTION_H
#ifndef CUDANET_CONVOLUTION_H
#define CUDANET_CONVOLUTION_H
namespace Kernels {
@@ -49,4 +49,4 @@ __global__ void convolution(
} // namespace Kernels
#endif // CONVOLUTION_H
#endif // CUDANET_CONVOLUTION_H

View File

@@ -1,5 +1,5 @@
#ifndef MATMUL_H
#define MATMUL_H
#ifndef CUDANET_MATMUL_H
#define CUDANET_MATMUL_H
namespace Kernels {
@@ -37,4 +37,4 @@ __global__ void vec_vec_add(
} // namespace Kernels
#endif // MATMUL_H
#endif // CUDANET_MATMUL_H