Skip to content

Commit

Permalink
try to solve more spmd/ccl issues
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust committed Mar 4, 2025
1 parent 11f563b commit 0d1bbbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/oneapi/dal/detail/ccl/communicator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class ccl_stream_wrapper {
/// Implementation of the low-level SPMD communicator interface via ccl
/// TODO: Currently message sizes are limited via `int` type.
/// Large message sizes should be handled on the communicator side in the future.
class ccl_device_communicator_impl : public spmd::communicator_iface {
class ONEDAL_EXPORT ccl_device_communicator_impl : public spmd::communicator_iface {
public:
// Explicitly declare all virtual functions with overloads to workaround Clang warning
// https://stackoverflow.com/questions/18515183/c-overloaded-virtual-function-warning-by-clang
Expand Down
2 changes: 1 addition & 1 deletion cpp/oneapi/dal/detail/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ template struct ONEDAL_EXPORT integer_overflow_ops<std::size_t>;
namespace oneapi::dal::preview::detail {

#ifdef ONEDAL_DATA_PARALLEL
void check_if_pointer_matches_queue(const sycl::queue& q, const void* ptr) {
void ONEDAL_EXPORT check_if_pointer_matches_queue(const sycl::queue& q, const void* ptr) {
if (ptr) {
if (!dal::backend::is_known_usm(q, ptr)) {
throw invalid_argument{ dal::detail::error_messages::unknown_usm_pointer_type() };
Expand Down
2 changes: 1 addition & 1 deletion cpp/oneapi/dal/detail/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ static constexpr void deallocate(Alloc& alloc,
}

#ifdef ONEDAL_DATA_PARALLEL
void check_if_pointer_matches_queue(const sycl::queue& q, const void* ptr);
void ONEDAL_EXPORT check_if_pointer_matches_queue(const sycl::queue& q, const void* ptr);
#endif

} // namespace oneapi::dal::preview::detail

0 comments on commit 0d1bbbd

Please sign in to comment.