Restructure include paths

This commit is contained in:
2025-11-23 20:57:08 +01:00
parent 4161caf3e1
commit 38cb0c9ac0
13 changed files with 15 additions and 15 deletions

View File

@@ -0,0 +1,33 @@
#pragma once
#include <cuda_runtime.h>
namespace CUDANet::Kernels {
/**
* @brief Sigmoid activation function kernel
*
* @param src Pointer to the source array
* @param dst Pointer to the destination array
* @param len Length of the arrays
*/
__global__ void sigmoid(
const float* __restrict__ src,
float* __restrict__ dst,
const unsigned int len
);
/**
* @brief Relu activation function kernel
*
* @param src Pointer to the source array
* @param dst Pointer to the destination array
* @param len Length of the arrays
*/
__global__ void relu(
const float* __restrict__ src,
float* __restrict__ dst,
const unsigned int len
);
} // namespace CUDANet::Kernels