mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-05 17:34:21 +00:00
13 lines
359 B
Plaintext
13 lines
359 B
Plaintext
#ifndef ACTIVATIONS_H
|
|
#define ACTIVATIONS_H
|
|
|
|
__global__ void
|
|
sigmoid_kernel(const float* __restrict__ src, float* __restrict__ dst, int len);
|
|
|
|
__global__ void
|
|
relu_kernel(const float* __restrict__ src, float* __restrict__ dst, int len);
|
|
|
|
__global__ void
|
|
linear_kernel(const float* __restrict__ src, float* __restrict__ dst, int len);
|
|
|
|
#endif // ACTIVATIONS_H |