Skip to content

__AMDGCN_WAVEFRONT_SIZE only has expected value during device pass #3792

@mrowan137

Description

@mrowan137

This is in reference to a previous pull request #3777. The __AMDGCN_WAVEFRONT_SIZE only has the expected (correct) value when referenced in the device pass of compilation, and is left at a default value 64 when referenced in the host pass. Unfortunately, it is apparently nontrivial to expose the device-pass value during the host pass through this macro, and I don't have a suggestion from compiler folks about exposing this value at compile time another way. They aim to add a warning when the host-pass detects this macro is used, but as for compile-time value I'm not sure I have any good idea. Manual selection throughifdefing on the architecture could be inconvenient to maintain.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions