Skip to content

Conversation

@algorithm1832
Copy link
Contributor

PR Category

Custom Device

PR Types

Improvements

Description

  • Replace .cu includes to .h includes
  • Add .cu file to cmakelists (metax_gpu)

ℹ️The c_scatter_kernel.cu file has already been included in iluvatar_gpu's cmakelists starting from line 269.

file(
  GLOB
  CUDA_SRCS2
  ...
  ${PADDLE_SOURCE_DIR}/paddle/phi/kernels/gpu/c_scatter_kernel.cu
  ...
)
set(CUDA_SRCS ${CUDA_SRCS1} ${CUDA_SRCS2})
list(REMOVE_DUPLICATES CUDA_SRCS1)

Related Paddle PR: #75653

@paddle-bot
Copy link

paddle-bot bot commented Oct 14, 2025

Thanks for your contribution!

@algorithm1832 algorithm1832 changed the title Add c_scatter_kernel.h 【CUDA Kernel No.35】Add c_scatter_kernel.h Oct 14, 2025
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Oct 17, 2025
Copy link
Collaborator

@YqGe585 YqGe585 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants