add block and grid loop for index_sample kernel to deal with a large-shape tensor (#37816)
* add block and grid loop for index_sample kernel to deal with a large-shape tensor * fix code format * limit grid dim
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* add block and grid loop for index_sample kernel to deal with a large-shape tensor * fix code format * limit grid dim