Skip to content

Commit cb10456

Browse files
authored
Update 1_sepia_sycl.cpp
1 parent a361831 commit cb10456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/oneDPL/dynamic_selection/sepia-filter-ds/src/1_sepia_sycl.cpp

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

0 commit comments

Comments
 (0)