cd /Path/To/Template-SDK
apt update
apt install --yes nvidia-container-toolkit
nvidia-ctk runtime configure --runtime=containerd && systemctl restart containerd
nvidia-ctk runtime configure --runtime=docker && systemctl restart docker
docker run \
--interactive \
--tty \
--gpus all \
--name template-sdk \
--volume '/Path/To/Template-SDK:/src' \
--workdir /build \
docker.io/eajkseajks/cpp-cuda:1.0.0-sdk-core-ubuntu-24.04
docker start --interactive template-sdk
docker run `
--interactive `
--tty `
--gpus all `
--name template-sdk `
--volume '/Path/To/Template-SDK:/src' `
--workdir /build `
docker.io/eajkseajks/cpp-cuda:1.0.0-sdk-core-ubuntu-24.04
docker start --interactive template-sdk
apt-get update
apt-get install --yes --no-install-recommends \
wget \
libpython3.12-dev \
python3.12
apt-get autoremove --yes --purge
rm -rf /var/lib/apt/lists/*
mkdir /tools
wget -c https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-linux-x86_64.tar.gz -O - | tar -xz -C /tools
. /opt/intel/oneapi/setvars.sh
/tools/cmake-3.30.2-linux-x86_64/bin/cmake \
-G "Ninja" \
-D CMAKE_C_COMPILER=gcc \
-D CMAKE_C_COMPILER_AR=ar \
-D CMAKE_CXX_COMPILER=g++ \
-D CMAKE_CXX_COMPILER_AR=ar \
-D CMAKE_UNITY_BUILD=OFF \
-D CMAKE_BUILD_TYPE=Debug \
-D CMAKE_LINKER_TYPE=DEFAULT \
-D PYBIND11_FINDPYTHON=ON \
-D TEMPLATE_SDK_VERSION=1.2.3.4 \
-D USE_PRECOMPILED_HEADERS=OFF \
-D BUILD_API_DOCUMENTATION=ON \
/src/Code
ninja package
. /opt/intel/oneapi/setvars.sh
/tools/cmake-3.30.2-linux-x86_64/bin/cmake \
-G "Ninja" \
-D CMAKE_C_COMPILER=clang \
-D CMAKE_C_COMPILER_AR=llvm-ar \
-D CMAKE_CXX_COMPILER=clang++ \
-D CMAKE_CXX_COMPILER_AR=llvm-ar \
-D CMAKE_UNITY_BUILD=OFF \
-D CMAKE_BUILD_TYPE=Debug \
-D CMAKE_LINKER_TYPE=DEFAULT \
-D PYBIND11_FINDPYTHON=ON \
-D TEMPLATE_SDK_VERSION=1.2.3.4 \
-D USE_PRECOMPILED_HEADERS=ON \
-D BUILD_API_DOCUMENTATION=OFF \
/src/Code
ninja package
. /opt/intel/oneapi/setvars.sh
/tools/cmake-3.30.2-linux-x86_64/bin/cmake \
-G "Ninja" \
-D CMAKE_C_COMPILER=icx \
-D CMAKE_C_COMPILER_AR=xiar \
-D CMAKE_CXX_COMPILER=icpx \
-D CMAKE_CXX_COMPILER_AR=xiar \
-D CMAKE_UNITY_BUILD=ON \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_LINKER_TYPE=DEFAULT \
-D PYBIND11_FINDPYTHON=ON \
-D TEMPLATE_SDK_VERSION=1.2.3.4 \
-D USE_PRECOMPILED_HEADERS=ON \
-D BUILD_API_DOCUMENTATION=OFF \
/src/Code
ninja package
apt install ./Template-SDK_1.2.3.4.deb
export PATH=/opt/by-EAjks.Com/Template-SDK/bin${PATH:+:${PATH}}
Benchmark -vvv
Demonstration -vvv
docker build \
--build-arg IMAGE_REPOSITORY=docker.io/eajkseajks \
--build-arg DEVELOPMENT_IMAGE_NAME=cpp-cuda \
--build-arg DEVELOPMENT_IMAGE_TAG=1.0.0-sdk-core-ubuntu-24.04 \
--build-arg RUNTIME_IMAGE_NAME=cpp-cuda \
--build-arg RUNTIME_IMAGE_TAG=1.0.0-runtime-core-ubuntu-24.04 \
--build-arg TEMPLATE_SDK_VERSION=1.2.3.4 \
--file DevOps/Docker/Template-SDK/Dockerfile \
--tag ghcr.io/by-eajks-com/template-sdk:v1.2.3.4 \
--tag ghcr.io/by-eajks-com/template-sdk:latest \
.
docker build `
--build-arg IMAGE_REPOSITORY=docker.io/eajkseajks `
--build-arg DEVELOPMENT_IMAGE_NAME=cpp-cuda `
--build-arg DEVELOPMENT_IMAGE_TAG=1.0.0-sdk-core-ubuntu-24.04 `
--build-arg RUNTIME_IMAGE_NAME=cpp-cuda `
--build-arg RUNTIME_IMAGE_TAG=1.0.0-runtime-core-ubuntu-24.04 `
--build-arg TEMPLATE_SDK_VERSION=1.2.3.4 `
--file DevOps/Docker/Template-SDK/Dockerfile `
--tag ghcr.io/by-eajks-com/template-sdk:v1.2.3.4 `
--tag ghcr.io/by-eajks-com/template-sdk:latest `
.