mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-07 02:04:26 +00:00
Add toplevel CUDANet namespace
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user