Skip to content

Conversation

@yuchunliu-metax
Copy link

Type

  • Bug fix (non-breaking change which fixes an issue): Fixes #
  • New feature (non-breaking change which adds functionality). Resolves #
  • Breaking change (fix or feature that would cause existing functionality to not work as expected) Resolves #

Motivation and Context

Checklist:

  • I have run python util/check_style.py --apply to apply Open3D code style
    to my code.
  • This PR changes Open3D behavior or adds new functionality.
    • Both C++ (Doxygen) and Python (Sphinx / Google style) documentation is
      updated accordingly.
    • I have added or updated C++ and / or Python unit tests OR included test
      results
      (e.g. screenshots or numbers) here.
  • I will follow up and update the code if CI fails.
  • For fork PRs, I have selected Allow edits from maintainers.

Description

metax-gpu 在paddle 3.0 框架下走的是custom_device 分支,因此在Open3D中需要增加 is_custom_device支持metax-gpu。

@yuchunliu-metax yuchunliu-metax deleted the metax-gpu-support branch September 12, 2025 09:21
@yuchunliu-metax yuchunliu-metax restored the metax-gpu-support branch September 12, 2025 09:21
}

if (inp_features.is_gpu()) {
if (inp_features.is_gpu() || inp_features.is_custom_device()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

对于非cuda兼容的 custom device 设备,不应该走到 CUDA kernel

@HydrogenSulfate
Copy link
Collaborator

HydrogenSulfate commented Sep 25, 2025

@yuchunliu-metax 这里是否可以暂时改成通过类似 place==meta_x_place 判断?这个is_custom_place()的范围比较大

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.

3 participants