You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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: