Skip to content

Commit

Permalink
Merge pull request #244 from zhenggb72/ocloc-fix
Browse files Browse the repository at this point in the history
backend/ze: supports new version of ocloc
  • Loading branch information
yfguo authored Apr 6, 2023
2 parents 59acd42 + 89ebd5f commit b6b38c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/ze/pup/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if BUILD_ZE_NATIVE
.cl.c:
@echo " OCLOC (native) $<" ; \
ocloc compile -file $< -device $(ze_native_TARGET) -out_dir `dirname $@` -output_no_suffix -q -options "-I $(top_srcdir)/src/backend/ze/include -cl-std=CL2.0" @extra_ocloc_options@ && \
mv $(@:.c=) $(@:.c=.bin) && /bin/rm -f $(@:.c=.gen) && \
(test -f $(@:.c=) && mv $(@:.c=) $(@:.c=.bin) || true) && /bin/rm -f $(@:.c=.gen) && \
$(top_srcdir)/src/backend/ze/pup/inline.py $(@:.c=.bin) $@ $(top_srcdir) 1

else
Expand Down

0 comments on commit b6b38c8

Please sign in to comment.