Skip to content

Prefetch/ Memadvice should be const #963

@TApplencourt

Description

@TApplencourt

Specification Version

SYCL 2020 (Revision 11)

Section Number(s)

somehere

Bug Description


  event prefetch(void* ptr, std::size_t numBytes);
  event prefetch(void* ptr, std::size_t numBytes, event depEvent);
  event prefetch(void* ptr, std::size_t numBytes,
                 const std::vector<event>& depEvents);

  /* -- Shortcut functions: mem_advise -- */

  event mem_advise(void* ptr, std::size_t numBytes, int advice);
  event mem_advise(void* ptr, std::size_t numBytes, int advice, event depEvent);
  event mem_advise(void* ptr, std::size_t numBytes, int advice,
                   const std::vector<event>& depEvents);

Adabtivecpp: already implemented as const
DPCP: Maybe?

  • For sure will clarify into launch_queue khr
  • Maybe clarification fix into SYCL 2020

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions