-
Notifications
You must be signed in to change notification settings - Fork 708
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
Potential Data Race Identified in MatrixTransposeKernel #262
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Potential Data Race Identified in MatrixTransposeKernel
Description:
My team and I have been working on a verification project for CUDA kernels called faial. faial has reported a potential data-race in
mindspore/ccsrc/plugin/device/gpu/kernel/cuda_impl/cuda_ops/matrix_transpose_impl.cu
on line 34.Our tool reports potential data-races unless we introduce some pre-conditions on kernel parameters
col
androw
:col
must be positive:col > 0
row
must be positive:row > 0
row
andcol
must be equal:row == col
Do these conditions match your expectations?
We can submit a pull-request that adds the following pre-condition to your kernels. Would that be a welcome addition?
The text was updated successfully, but these errors were encountered: