diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 750c209fd67..df3265cb58c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -722,6 +722,7 @@ build/dpcpp/cpu/release/static: BUILD_SHARED_LIBS: "ON" SYCL_DEVICE_TYPE: "CPU" +# It gives two available backends of GPU on tests build/dpcpp/igpu/release/shared: <<: *default_build_with_test extends: @@ -768,6 +769,7 @@ build/dpcpp/level_zero_igpu/debug/static: DPCPP_SINGLE_MODE: "ON" SYCL_DEVICE_FILTER: "Level_Zero:GPU" +# It gives two available backends of GPU on tests build/dpcpp/dgpu/release/static: <<: *default_build_with_test extends: diff --git a/include/ginkgo/core/base/executor.hpp b/include/ginkgo/core/base/executor.hpp index d9ca2e3af32..0d96cb4cd66 100644 --- a/include/ginkgo/core/base/executor.hpp +++ b/include/ginkgo/core/base/executor.hpp @@ -35,6 +35,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include +#include #include #include #include @@ -621,7 +622,12 @@ class Executor : public log::EnableLogging { this->raw_copy_from(src_exec, num_elems * sizeof(T), src_ptr, dest_ptr); } catch (NotSupported &) { +#if (GKO_VERBOSE_LEVEL >= 1) && !defined(NDEBUG) // Unoptimized copy. Try to go through the masters. + // output to log when verbose >= 1 and debug build + std::clog << "Not direct copy. Try to copy data from the masters." + << std::endl; +#endif auto src_master = src_exec->get_master().get(); if (num_elems > 0 && src_master != src_exec) { auto *master_ptr = src_exec->get_master()->alloc(num_elems);