Commit 333ceba 1 parent 68c3862 commit 333ceba Copy full SHA for 333ceba
File tree 5 files changed +6
-8
lines changed
5 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ endif()
237
237
238
238
if ("${BUILD_SPLINES_KERNEL} " )
239
239
# Ginkgo
240
- find_package (Ginkgo 1.6 .0 EXACT REQUIRED)
240
+ find_package (Ginkgo 1.7 .0 EXACT REQUIRED)
241
241
target_link_libraries (DDC INTERFACE Ginkgo::ginkgo)
242
242
target_compile_definitions (DDC INTERFACE ginkgo_AVAIL)
243
243
endif ()
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ RUN chmod +x /bin/bash_run \
34
34
git \
35
35
graphviz \
36
36
texlive \
37
- && git clone -b v1.6 .0 https://github.com/ginkgo-project/ginkgo.git \
37
+ && git clone -b v1.7 .0 https://github.com/ginkgo-project/ginkgo.git \
38
38
&& cd ginkgo \
39
39
&& cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGINKGO_BUILD_OMP=OFF -DGINKGO_BUILD_TESTS=OFF -DGINKGO_BUILD_EXAMPLES=OFF -DGINKGO_BUILD_BENCHMARKS=OFF \
40
40
&& cmake --build build \
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ RUN chmod +x /bin/bash_run \
57
57
apt-get install -y --no-install-recommends \
58
58
rocm-hip-sdk \
59
59
;; esac \
60
- && git clone -b v1.6 .0 https://github.com/ginkgo-project/ginkgo.git \
60
+ && git clone -b v1.7 .0 https://github.com/ginkgo-project/ginkgo.git \
61
61
&& cd ginkgo \
62
62
&& case "${BACKEND}" in \
63
63
"cpu" ) \
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ RUN chmod +x /bin/bash_run \
52
52
apt-get install -y --no-install-recommends \
53
53
rocm-hip-sdk \
54
54
;; esac \
55
- && git clone -b v1.6 .0 https://github.com/ginkgo-project/ginkgo.git \
55
+ && git clone -b v1.7 .0 https://github.com/ginkgo-project/ginkgo.git \
56
56
&& cd ginkgo \
57
57
&& case "${BACKEND}" in \
58
58
"cpu" ) \
Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ inline std::shared_ptr<gko::Executor> create_gko_exec()
38
38
return gko::CudaExecutor::
39
39
create (exec_space.cuda_device (),
40
40
create_default_host_executor (),
41
- false ,
42
- gko::default_cuda_alloc_mode,
41
+ std::make_shared<gko::CudaAllocator>(),
43
42
exec_space.cuda_stream ());
44
43
}
45
44
#endif
@@ -49,8 +48,7 @@ inline std::shared_ptr<gko::Executor> create_gko_exec()
49
48
return gko::HipExecutor::
50
49
create (exec_space.hip_device (),
51
50
create_default_host_executor (),
52
- false ,
53
- gko::default_hip_alloc_mode,
51
+ std::make_shared<gko::HipAllocator>(),
54
52
exec_space.hip_stream ());
55
53
}
56
54
#endif
You can’t perform that action at this time.
0 commit comments