Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71775d6

Browse files
committed
feat: Add SYCL Dockerfile
1 parent23031ef commit71775d6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

‎Dockerfile.sycl‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ARG SYCL_VERSION=2025.1.0-0
2+
3+
FROM intel/oneapi-basekit:${SYCL_VERSION}-devel-ubuntu24.04 AS build
4+
5+
RUN apt-get update && apt-get install -y cmake
6+
7+
WORKDIR /sd.cpp
8+
9+
COPY . .
10+
11+
RUN mkdir build && cd build && \
12+
cmake .. -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DSD_SYCL=ON -DCMAKE_BUILD_TYPE=Release && \
13+
cmake --build . --config Release -j$(nproc)
14+
15+
FROM intel/oneapi-basekit:${SYCL_VERSION}-devel-ubuntu24.04 AS runtime
16+
17+
COPY --from=build /sd.cpp/build/bin/sd /sd
18+
19+
ENTRYPOINT [ "/sd" ]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp