Test softmax

This commit is contained in:
2024-03-17 19:08:16 +01:00
parent 42d646750b
commit cbdb4e7707
5 changed files with 49 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ void Layers::Activation::activate(float* __restrict__ d_input) {
d_input, d_input, length
);
Kernels::softmax_sum<<<gridSize, BLOCK_SIZE>>>(
Kernels::softmax_sum<<<gridSize / 2, BLOCK_SIZE>>>(
d_input, d_softmax_sum, length
);