Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation problem #31100

Merged
merged 5 commits into from
Feb 23, 2021
Merged

Conversation

zhiqiu
Copy link
Contributor

@zhiqiu zhiqiu commented Feb 22, 2021

PR types

Bug fixes

PR changes

Others

Describe

  1. fix compilation problem with option WITH_CUDA=ON
  2. fix compilation problem with option WITH_ASCEND=ON and WITH_ASCEND_CL=ON
  3. fix compilation problem with option WITH_ASCEND_CL=ON and CANN 20.1

@paddle-bot-old
Copy link

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

@paddle-bot-old
Copy link

paddle-bot-old bot commented Feb 22, 2021

✅ This PR's description meets the template requirements!
Please wait for other CI results.

@gongweibao gongweibao merged commit 85cbd55 into PaddlePaddle:ascendrc Feb 23, 2021
zhiqiu added a commit to zhiqiu/Paddle that referenced this pull request Apr 8, 2021
zhiqiu added a commit that referenced this pull request Apr 9, 2021
…pports from ascendrc (#32144)

* [feature] support npu allocator (#30840)

[feature] support npu allocator

* [feature] support npu operator (#30951)

[feature] support npu operator

* [feature] support npu allocator, part 2 (#30972)

* support npu allocator

* add npu device context

* fix some compile problem

* fix some compile problem

* add npu info

* compile ok

* fix include dir

* support naive_best_fit_allocator

* run ut ok, bug failed to exit

* call aclrtResetDevice before exit

* fix aclFinilize

* add system allocatot test

* add selected_gpus in gtest

* add tensor_test for npu

* support npu op, initial commit

* add npu stream

* add elementwise_add_op

* compile ok

* fix typo

* fix elementwise_add_op_npu_test

* support op run

* test can run but failed

* change aclopExecuteV2 to aclopCompileAndExecute

* support parsing ascend rank table file (#31000)

support parsing ascend rank table file

* Fix reshape on GE graph. (#31084)

Fix reshape on GE graph

* add npu kernel for elementwise_sub and elementwise_sub_grad (#30973)

* add npu sub op

* fix typo

* rename test

* fix bug

* fix bug

* add fp16 kernel

* fix typo

* support sub grad op

* support elementwise_sub_grad op

Co-authored-by: frankwhzhang <frankwhzhang@126.com>

* Fix compilation problem (#31100)

Fix compilation problem (#31100)

* fix compile

* fix code stype

* remove const_cast

* support adding correct npu op in pybind.h (#31143)

* support adding correct npu op in pybind.h

* refine code

* [NPU] Support executor with NPU (#31057)

* [NPU] Support executor with NPU

* Fix code according to reviews

* Fix code

* Add unittest for sub op npu

* refactor npu device manager (#31154)

refactor npu device manager (#31154)

* fix selected npus

* fix compile

* fix reading flags from env

* format

Co-authored-by: xiayanming <41795079@qq.com>
Co-authored-by: gongweibao <weibao.gong@gmail.com>
Co-authored-by: frankwhzhang <frankwhzhang@126.com>
Co-authored-by: liym27 <33742067+liym27@users.noreply.github.com>
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