Skip to content

Commit b8c0384

Browse files
authored
Update 2_sepia_policies.cpp
1 parent cb10456 commit b8c0384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/oneDPL/dynamic_selection/sepia-filter-ds/src/2_sepia_policies.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void writeImages(std::vector<sycl::buffer<uint8_t>>& output_buffers) {
112112
// - SYCL compiler will automatically deduce the address space for the two
113113
// pointers; sycl::multi_ptr specialization for particular address space
114114
// can used for more control
115-
__attribute__((always_inline)) static void ApplyFilter(uint8_t *src_image,
115+
__attribute__((always_inline)) static void ApplyFilter(multi_ptr<const unsigned char, access::address_space::global_space, (sycl::access::decorated)2> src_image,
116116
uint8_t *dst_image,
117117
int i) {
118118
i *= 3;

0 commit comments

Comments
 (0)