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

[SYCL][Graph] Fix clang build #242

Merged
merged 1 commit into from
Jun 27, 2023
Merged

Commits on Jun 27, 2023

  1. [SYCL] Fix clang build

    Fix some build errors I've seen with clang-17 after #238
    was merged.
    
    1) Arithmitic on void pointer, fixed by passing a `char*` rather than
    `void*` when an offset is needed
    
    ```
    /home/ewan/Development/dpcpp/sycl/source/detail/memory_manager.cpp:1316:44: error: arithmetic on a pointer to void
     1316 |           SrcAccessRangeWidthBytes, DstMem + DstXOffBytes, Deps.size(),
          |                                     ~~~~~~ ^
    /home/ewan/Development/dpcpp/sycl/source/detail/memory_manager.cpp:1372:44: error: arithmetic on a pointer to void
     1372 |           DstAccessRangeWidthBytes, SrcMem + SrcXOffBytes, Deps.size(),
          |
    	  ~~~~~~ ^
    
    2) Fixup use of `numEventsInWaitList` when should be `numSyncPointsInWaitList`
    /home/ewan/Development/dpcpp/sycl/plugins/unified_runtime/ur/adapters/level_zero/ur_level_zero_command_buffer.cpp:611:13: error: use of undeclared identifier 'numEventsInWaitList'
      611 |       size, numEventsInWaitList, pSyncPointWaitList, pSyncPoint);
    ```
    EwanC committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    62f59bc View commit details
    Browse the repository at this point in the history