You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/23 18:09:19 UTC
[GitHub] stefanhenneking opened a new issue #7578: warp_size
stefanhenneking opened a new issue #7578: warp_size
URL: https://github.com/apache/incubator-mxnet/issues/7578
For the GPU kernels, it'd be good to have a defined constant for the warp size so that it doesn't have to be hard coded in each file (see for example `static const unsigned WARP_SIZE = 32` in `batch_norm.cu`).
Reading the `warpSize` from the `cudaDeviceProp` wouldn't be a good solution in my opinion in terms of performance.
If NVIDIA decides to change the warp size on a future architecture, it could then be easily be switched depending on `__CUDA_ARCH__`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services