Add toplevel CUDANet namespace

This commit is contained in:
2024-03-17 16:08:53 +01:00
parent dc86cddeb7
commit 0c22fac64e
19 changed files with 183 additions and 149 deletions

View File

@@ -1,7 +1,7 @@
#ifndef CUDANET_ACTIVATIONS_H
#define CUDANET_ACTIVATIONS_H
namespace Kernels {
namespace CUDANet::Kernels {
/**
* @brief Sigmoid activation function kernel
@@ -23,6 +23,6 @@ sigmoid(const float* __restrict__ src, float* __restrict__ dst, int len);
__global__ void
relu(const float* __restrict__ src, float* __restrict__ dst, int len);
} // namespace Kernels
} // namespace CUDANet::Kernels
#endif // CUDANET_ACTIVATIONS_H