@@ -22,12 +22,12 @@ namespace oneapi {
2222namespace experimental {
2323// / Opaque unsampled image handle type.
2424struct unsampled_image_handle {
25- using raw_handle_type = unsigned long ;
25+ using raw_handle_type = pi_uint64 ;
2626 raw_handle_type raw_handle;
2727};
2828// / Opaque sampled image handle type.
2929struct sampled_image_handle {
30- using raw_handle_type = unsigned long ;
30+ using raw_handle_type = pi_uint64 ;
3131 raw_handle_type raw_handle;
3232};
3333
@@ -530,9 +530,9 @@ __SYCL_EXPORT void *pitched_alloc_device(size_t *resultPitch,
530530 * @param syclContext The context in which we created our image memory handle
531531 * @return sycl range describing image's dimensions
532532 */
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);
536536
537537/* *
538538 * @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,
541541 * @param syclQueue The queue in which we created our image memory handle
542542 * @return sycl range describing image's dimensions
543543 */
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);
546546
547547/* *
548548 * @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,
552552 * @param syclContext The context in which we created our image memory handle
553553 * @return sycl image channel type that describes the image
554554 */
555- sycl::image_channel_type
555+ __SYCL_EXPORT sycl::image_channel_type
556556get_image_channel_type (const image_mem_handle memHandle,
557557 const sycl::device &syclDevice,
558558 const sycl::context &syclContext);
@@ -564,7 +564,7 @@ get_image_channel_type(const image_mem_handle memHandle,
564564 * @param syclQueue The queue in which we created our image memory handle
565565 * @return sycl image channel type that describes the image
566566 */
567- sycl::image_channel_type
567+ __SYCL_EXPORT sycl::image_channel_type
568568get_image_channel_type (const image_mem_handle memHandle,
569569 const sycl::queue &syclQueue);
570570
@@ -576,9 +576,10 @@ get_image_channel_type(const image_mem_handle memHandle,
576576 * @param syclContext The context in which we created our image memory handle
577577 * @return The number of channels describing the image
578578 */
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);
582583
583584/* *
584585 * @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,
587588 * @param syclQueue The queue in which we created our image memory handle
588589 * @return The number of channels describing the image
589590 */
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);
592594
593595namespace detail {
594596// Get the number of coordinates
0 commit comments