Skip to content

Required Work Group size when bigger than size_t::max? #1028

Description

@TApplencourt

Look like we have 2 regime

0 < Product(size) <  max_work_group -> Fail at runtime
 numeric_limit<size_t>::<max < Product(size) -> Fail at compile time. 

Should we clarify that? Related to https://github.com/wenju-he/SYCL-CTS/blob/da719ce893298cdcbff26213606d65ca6908e1d3/tests/optional_kernel_features/kernel_features_reqd_work_group_size.cpp

Originally posted by @TApplencourt in #1010 (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