Skip to content

Conversation

steffenlarsen
Copy link
Contributor

These changes makes buffer_allocator a template class taking the data type of the associated buffer. Likewise it changes the default allocator used by buffer to be buffer_allocator<std::remove_const_t<T>>. Since these changes are API breaking they are only applied if SYCL2020_CONFORMANT_APIS is defined.

These changes makes `buffer_allocator` a template class taking the data
type of the associated buffer. Likewise it changes the default allocator
used by buffer to be `buffer_allocator<std::remove_const_t<T>>`. Since
these changes are API breaking they are only applied if
SYCL2020_CONFORMANT_APIS is defined.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1039

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1039

@steffenlarsen
Copy link
Contributor Author

Failure in DeprecatedFeatures/buffer_interop.cpp is expected to be fixed with #6214. I will rerun verification once that is merged.

@steffenlarsen
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1039

@steffenlarsen
Copy link
Contributor Author

Failure in Basic/queue/release.cpp is a known sporadic failure and is unrelated.

pvchupin pushed a commit to intel/llvm-test-suite that referenced this pull request Jun 3, 2022
Adds a test for buffer_allocator for both the SYCL 1.2.1 variant and the SYCL 2020 variant (guarded by SYCL2020_CONFORMANT_APIS.)

This tests intel/llvm#6200.

Signed-off-by: Larsen, Steffen <[email protected]>
@pvchupin pvchupin merged commit 53430c8 into intel:sycl Jun 3, 2022
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
)

Adds a test for buffer_allocator for both the SYCL 1.2.1 variant and the SYCL 2020 variant (guarded by SYCL2020_CONFORMANT_APIS.)

This tests intel#6200.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen deleted the steffen/sycl_2020_buffer_allocator branch December 6, 2023 11:38
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.

3 participants