Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return device total global memory for MaxAllocSize #1181

Merged
merged 1 commit into from
Apr 10, 2024

Commits on Apr 10, 2024

  1. Return device total global memory for MaxAllocSize

    The SYCL specifiction inherits an OpenCL query for the maximum single
    allocaton that can be made, and requires that at least one-quarter of
    the device's reported global memory size can be allocated.
    
    CUDA doesn't really have such a limitation as far as I can tell, and
    will happily allocate anything up to the total size of global memory
    in one go. This means returning that size is a reasonable guess for
    MaxAllocSize.
    DuncanMcBain authored and kbenzie committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    c02d137 View commit details
    Browse the repository at this point in the history