Skip to content

[Issue]: #ifdef guard on enum value mgpuLaunchClusterKernel makes cluster launch dead code #380

@ahmed-bsod

Description

@ahmed-bsod

Problem Description

#ifdef hipLaunchAttributeClusterDimension on https://github.com/ROCm/FlyDSL/blob/main/lib/Runtime/FlyRocmRuntimeWrappers.cpp#L78 is always false because hipLaunchAttributeClusterDimension is an enum value (= 4 in hip/hip_runtime_api.h), not a macro.

Image

Get this warning if try to use clusters in my kernel: [mgpuLaunchClusterKernel] cluster=(1,2,1) requested but hipLaunchAttributeClusterDimension is not available in this HIP version; falling back to hipModuleLaunchKernel.

Operating System

all

CPU

all

GPU

all

ROCm Version

ROCm 7.3.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions