Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelesko committed Jun 27, 2024
1 parent ab797a4 commit fafc1fa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docker/DockerfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ RUN mkdir -p /apps/modulefiles/Core/oneapi && \
echo 'prepend_path("PKG_CONFIG_PATH", pathJoin(base, "lib/pkgconfig"))' >> /apps/modulefiles/Core/oneapi/2024.1.0.lua && \
echo 'prepend_path("CMAKE_PREFIX_PATH", pathJoin(base, "lib/cmake"))' >> /apps/modulefiles/Core/oneapi/2024.1.0.lua && \
echo 'prepend_path("XDG_DATA_DIRS", pathJoin(base, "share"))' >> /apps/modulefiles/Core/oneapi/2024.1.0.lua && \
echo 'setenv("OPENCL_VENDOR_PATH", "/apps/conda/envs/oneapi-2024.1/etc/OpenCL/vendors")' >> /apps/modulefiles/Core/oneapi/2024.1.0.lua && \
echo 'setenv("OPENCL_VENDOR_PATH", "/apps/conda/envs/oneapi-2024.1.0/etc/OpenCL/vendors")' >> /apps/modulefiles/Core/oneapi/2024.1.0.lua && \
echo '' >> /apps/modulefiles/Core/oneapi/2024.1.0.lua && \
echo 'setenv("ONEAPI_ROOT", base)' >> /apps/modulefiles/Core/oneapi/2024.1.0.lua && \
echo 'setenv("ONEAPI_VERSION", version)' >> /apps/modulefiles/Core/oneapi/2024.1.0.lua
Expand Down
24 changes: 12 additions & 12 deletions docker/DockerfileLatest
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ ENV CHIP_BE=opencl
ENV CHIP_DEVICE_TYPE=cpu
ENV CHIP_LOGLEVEL=info

RUN clinfo -l
# RUN module unload pocl && module load oneapi/2024.1.0 && module load pocl && clinfo -l

RUN module unload pocl; module load oneapi/2024.1.0 && which icpx && git clone https://github.com/CHIP-SPV/chipStar.git && \
cd chipStar && \
git submodule update --init --recursive && \
mkdir build && \
cd build && \
cmake .. -DCMAKE_BUILD_TYPE=Release -DCHIP_BUILD_HIPBLAS=ON && \
make -j$(nproc) && \
/home/chipStarUser/chipStar/build/samples/0_MatrixMultiply/MatrixMultiply && \
make -j $(nproc) build_tests && \
sudo make install
# RUN module unload pocl; module load oneapi/2024.1.0 && which icpx && git clone https://github.com/CHIP-SPV/chipStar.git && \
# cd chipStar && \
# git submodule update --init --recursive && \
# mkdir build && \
# cd build && \
# cmake .. -DCMAKE_BUILD_TYPE=Release -DCHIP_BUILD_HIPBLAS=ON && \
# make -j$(nproc) && \
# /home/chipStarUser/chipStar/build/samples/0_MatrixMultiply/MatrixMultiply && \
# make -j $(nproc) build_tests && \
# sudo make install


RUN /home/chipStarUser/chipStar/build/samples/0_MatrixMultiply/MatrixMultiply
# RUN /home/chipStarUser/chipStar/build/samples/0_MatrixMultiply/MatrixMultiply

#////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#// //
Expand Down

0 comments on commit fafc1fa

Please sign in to comment.