Skip to content

Conversation

@jim19930609
Copy link
Contributor

@jim19930609 jim19930609 commented Jul 9, 2021

PR types

Function Optimization

PR changes

APIs

Describe

Added DCU backend for custom operators. Users can now define custom DCU operators, taking Tensors with place == PlaceType::kDCU

Owing to the use of rOCM framework, DCU and CUDA shares the same GPU place at framework level. Therefore this commit simply maps PlaceType::kDCU to the underlying framework::CUDAPlace().

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jul 9, 2021

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@jim19930609 jim19930609 changed the title [WIP] Add DCU backend support for custom ops Add DCU backend support for custom ops Jul 14, 2021
Copy link
Contributor

@JiabinYang JiabinYang left a comment

Choose a reason for hiding this comment

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

some comments

Copy link
Contributor

@JiabinYang JiabinYang left a comment

Choose a reason for hiding this comment

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

LGTM

@JiabinYang JiabinYang merged commit 62840af into PaddlePaddle:develop Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants