Files
CUDANet/include/kernels/activations.cuh
2024-03-11 21:04:23 +01:00

14 lines
294 B
Plaintext

#ifndef ACTIVATIONS_H
#define ACTIVATIONS_H
namespace Kernels {
__global__ void
sigmoid(const float* __restrict__ src, float* __restrict__ dst, int len);
__global__ void
relu(const float* __restrict__ src, float* __restrict__ dst, int len);
} // namespace Kernels
#endif // ACTIVATIONS_H