Skip to content

Conversation

@oleksandr-pavlyk
Copy link

This PR builds on top of work-group-memory PR.

It adds C and Python tests for WorkGroupMemory.
It fixes some errors, and export LocalAccessor type to be able to specify local accessor as
kernel argument for kernel submission.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?
  • If this PR is a work in progress, are you opening the PR as a draft?

sommerlukas and others added 9 commits February 4, 2025 14:10
Extend kernel argument handling to add support for the
work_group_memory extension, allowing users to dynamically allocate
local memory for a kernel.

Signed-off-by: Lukas Sommer <[email protected]>
1. Save test SPV filename into a variable
2. Add static assert that SIZE must be divisible by 10
3. Replaced hard-coded expected value with one that depends on SIZE
4. Fixed typos in the source code to generate SPV files
    a. Use #include <sycl/sycl.hpp>
    b. Add missing instantiation for uint16_t
Similar to test file for local_accessor, add tests for work_group_memory
…uments

LocalAccessor(ndim, elemental_type_str, dim0, dim1, dim2)

The elemental type can be one of the following:
 "i1", "u1", "i2", "u2", "i4", "u4", "i8", "u8", "f4", "f8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants