Skip to content

Support for ROCm 7.1 and Wave64 architectures (gfx1100, gfx1201) #240

Description

@tashibi

Hi everyone,

I've managed to get nvdiffrast working on AMD GPUs with ROCm 7.1 (specifically tested on gfx1201 / RDNA 3/4).

The main challenges were the Wave64 architecture requirement for 64-bit lane masks and porting NVIDIA-specific PTX assembly to HIP intrinsics. I've created a comprehensive patch script that automates all the necessary code changes (ASM porting, Wave64 masks, and PyTorch binding fixes).

You can find the patch and instructions here:
https://github.com/tashibi/nvdiffrast-rocm-patch.git

Hope this helps other AMD users running InstantMesh, TRELLIS, or other 3D Gaussian Splatting projects!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions