Skip to content

SyclDevice should expose global_mem_size, local_mem_size info descriptor #587

Closed

Description

@oleksandr-pavlyk

These would correspond to

inline std::uint64_t get_device_global_mem_size(const sycl::device &d) {
    return d.get_info<sycl::info::device::global_mem_size>();
}

inline std::uint64_t get_device_local_mem_size(const sycl::device &d) {
    return d.get_info<sycl::info::device::local_mem_size>();
}

Activity

  1. oleksandr-pavlyk commented on Sep 16, 2021

    @oleksandr-pavlyk
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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