Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant code in softmax cuda kernel #6807

Merged
1 change: 0 additions & 1 deletion oneflow/core/cuda/softmax.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ __global__ void SoftmaxBlockSMemImpl(LOAD load, STORE store, const int64_t rows,
} else {
__trap();
}
thread_max = max(thread_max, pack[i]);
}
store.template store<pack_size>(pack, row, pack_id * pack_size);
}
Expand Down