sxjscience commented on issue #19155: URL: https://github.com/apache/incubator-mxnet/issues/19155#issuecomment-694607356
Also, another check you may do is to ensure that the memory address of `grad_in.dptr` and `grad_out.dptr_` are aligned with `LType`: https://github.com/apache/incubator-mxnet/blob/5b506000310fd6bc5852bf4e41c0ce03ccc64013/src/operator/tensor/indexing_op.cu#L804-L809 ```c++ CHECK_EQ(static_cast<size_t>(grad_in.dptr_) % sizeof(LType), 0); CHECK_EQ(static_cast<size_t>(grad_out.dptr_) % sizeof(LType), 0); ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
