From b3b8ed54660193f1618328edc386a8a574b58728 Mon Sep 17 00:00:00 2001 From: Aleksandr Solovev Date: Tue, 28 Feb 2023 10:21:28 +0100 Subject: [PATCH] fix linreg sample (#2285) --- samples/oneapi/dpc/ccl/sources/linear_regression_distr_ccl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/oneapi/dpc/ccl/sources/linear_regression_distr_ccl.cpp b/samples/oneapi/dpc/ccl/sources/linear_regression_distr_ccl.cpp index 8c842aeb133..de1432eabb6 100644 --- a/samples/oneapi/dpc/ccl/sources/linear_regression_distr_ccl.cpp +++ b/samples/oneapi/dpc/ccl/sources/linear_regression_distr_ccl.cpp @@ -70,6 +70,7 @@ void run(sycl::queue &queue) { } int main(int argc, char const *argv[]) { + ccl::init(); int status = MPI_Init(nullptr, nullptr); if (status != MPI_SUCCESS) { throw std::runtime_error{ "Problem occurred during MPI init" };