Skip to content

Commit 8184090

Browse files
authored
Update Dockerfile
1 parent 27a9685 commit 8184090

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Dockerfile

+11
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,17 @@ RUN cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/ -DENABLE_CUDA=ON .
5151
make install && \
5252
rm -rf /pocl
5353

54+
# OpenCL Intercept Layer
55+
RUN git clone https://github.com/intel/opencl-intercept-layer.git /opencl-intercept-layer
56+
WORKDIR /opencl-intercept-layer
57+
RUN git checkout v3.0.5
58+
RUN mkdir build
59+
WORKDIR /opencl-intercept-layer/build
60+
RUN cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/ .. && \
61+
make -j && \
62+
make install && \
63+
rm -rf /opencl-intercept-layer
64+
5465
#====== End Instructor Addition ===
5566

5667

0 commit comments

Comments
 (0)