Skip to content

Does it make sense for builtins to have Physical addresses ? #291

@Hugobros3

Description

@Hugobros3

The Physical32 and Physical64 addressing models assert a fixed-sized, canonical representation for all pointers, meant for use in OpenCL and related environments (i.e. LevelZero), but I'm not sure is this is meant to be the case for Input and particularly builtins.

Actually using them like so seems broken, see this bug in IGC for an example of what I mean: intel/intel-graphics-compiler#347

If the Input storage class work the way I understand them to (compiler only accepts loads to global input variables and transforms them to an appropriate platform-specific intrinsic), then the spec should probably walk back the physical addressing wording to only include storage classes that actually describe physical memory.

cc @bashbaug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions