@@ -22,12 +22,12 @@ namespace oneapi {
22
22
namespace experimental {
23
23
// / Opaque unsampled image handle type.
24
24
struct unsampled_image_handle {
25
- using raw_handle_type = unsigned long ;
25
+ using raw_handle_type = pi_uint64 ;
26
26
raw_handle_type raw_handle;
27
27
};
28
28
// / Opaque sampled image handle type.
29
29
struct sampled_image_handle {
30
- using raw_handle_type = unsigned long ;
30
+ using raw_handle_type = pi_uint64 ;
31
31
raw_handle_type raw_handle;
32
32
};
33
33
@@ -530,9 +530,9 @@ __SYCL_EXPORT void *pitched_alloc_device(size_t *resultPitch,
530
530
* @param syclContext The context in which we created our image memory handle
531
531
* @return sycl range describing image's dimensions
532
532
*/
533
- sycl::range<3 > get_image_range (const image_mem_handle memHandle,
534
- const sycl::device &syclDevice,
535
- const sycl::context &syclContext);
533
+ __SYCL_EXPORT sycl::range<3 > get_image_range (const image_mem_handle memHandle,
534
+ const sycl::device &syclDevice,
535
+ const sycl::context &syclContext);
536
536
537
537
/* *
538
538
* @brief Get the range that describes the image's dimensions
@@ -541,8 +541,8 @@ sycl::range<3> get_image_range(const image_mem_handle memHandle,
541
541
* @param syclQueue The queue in which we created our image memory handle
542
542
* @return sycl range describing image's dimensions
543
543
*/
544
- sycl::range<3 > get_image_range (const image_mem_handle memHandle,
545
- const sycl::queue &syclQueue);
544
+ __SYCL_EXPORT sycl::range<3 > get_image_range (const image_mem_handle memHandle,
545
+ const sycl::queue &syclQueue);
546
546
547
547
/* *
548
548
* @brief Get the channel type that describes the image memory
@@ -552,7 +552,7 @@ sycl::range<3> get_image_range(const image_mem_handle memHandle,
552
552
* @param syclContext The context in which we created our image memory handle
553
553
* @return sycl image channel type that describes the image
554
554
*/
555
- sycl::image_channel_type
555
+ __SYCL_EXPORT sycl::image_channel_type
556
556
get_image_channel_type (const image_mem_handle memHandle,
557
557
const sycl::device &syclDevice,
558
558
const sycl::context &syclContext);
@@ -564,7 +564,7 @@ get_image_channel_type(const image_mem_handle memHandle,
564
564
* @param syclQueue The queue in which we created our image memory handle
565
565
* @return sycl image channel type that describes the image
566
566
*/
567
- sycl::image_channel_type
567
+ __SYCL_EXPORT sycl::image_channel_type
568
568
get_image_channel_type (const image_mem_handle memHandle,
569
569
const sycl::queue &syclQueue);
570
570
@@ -576,9 +576,10 @@ get_image_channel_type(const image_mem_handle memHandle,
576
576
* @param syclContext The context in which we created our image memory handle
577
577
* @return The number of channels describing the image
578
578
*/
579
- unsigned int get_image_num_channels (const image_mem_handle memHandle,
580
- const sycl::device &syclDevice,
581
- const sycl::context &syclContext);
579
+ __SYCL_EXPORT unsigned int
580
+ get_image_num_channels (const image_mem_handle memHandle,
581
+ const sycl::device &syclDevice,
582
+ const sycl::context &syclContext);
582
583
583
584
/* *
584
585
* @brief Get the number of channels that describes the image memory
@@ -587,8 +588,9 @@ unsigned int get_image_num_channels(const image_mem_handle memHandle,
587
588
* @param syclQueue The queue in which we created our image memory handle
588
589
* @return The number of channels describing the image
589
590
*/
590
- unsigned int get_image_num_channels (const image_mem_handle memHandle,
591
- const sycl::queue &syclQueue);
591
+ __SYCL_EXPORT unsigned int
592
+ get_image_num_channels (const image_mem_handle memHandle,
593
+ const sycl::queue &syclQueue);
592
594
593
595
namespace detail {
594
596
// Get the number of coordinates
0 commit comments