summaryrefslogtreecommitdiff
path: root/ot/gpu/cudamat/cudamat/learn_kernels.cu
diff options
context:
space:
mode:
Diffstat (limited to 'ot/gpu/cudamat/cudamat/learn_kernels.cu')
-rw-r--r--ot/gpu/cudamat/cudamat/learn_kernels.cu10
1 files changed, 0 insertions, 10 deletions
diff --git a/ot/gpu/cudamat/cudamat/learn_kernels.cu b/ot/gpu/cudamat/cudamat/learn_kernels.cu
deleted file mode 100644
index 8e897ba..0000000
--- a/ot/gpu/cudamat/cudamat/learn_kernels.cu
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "learn_kernels.cuh"
-
-__global__ void kMultiplyBySigmoidGrad(double* act, double* target, const unsigned int len) {
- const unsigned int idx = blockIdx.x * blockDim.x + threadIdx.x;
- const unsigned int numThreads = blockDim.x * gridDim.x;
-
- for(unsigned int i = idx; i < len; i+= numThreads) {
- target[i] = target[i] * act[i] * (1.0f - act[i]);
- }
-}