Add more softmax tests

This commit is contained in:
2024-03-22 22:32:08 +01:00
parent 9482d7bc43
commit 7bc329a043
4 changed files with 96 additions and 11 deletions

View File

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