File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ CC=icpx python setup.py build_ext --inplace
25
25
26
26
echo
27
27
echo =========example3==============
28
- icpx -fsycl -g -fPIC dpnp/backend/examples/example3.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath=' $ORIGIN' /dpnp -ldpnp_backend_c -o example3
28
+ DPCTL_INCLUDES=$( python -m dpctl --includes)
29
+ icpx -fsycl -g -O0 -ggdb3 -fPIC dpnp/backend/examples/example3.cpp $DPCTL_INCLUDES -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath=' $ORIGIN' /dpnp -ldpnp_backend_c -o example3
29
30
# LD_DEBUG=libs,bindings,symbols ./example3
30
31
./example3
31
32
@@ -47,7 +48,7 @@ icpx -fsycl -g -fPIC dpnp/backend/examples/example3.cpp -Idpnp -Idpnp/backend/in
47
48
# strings /usr/share/miniconda/envs/dpnp*/lib/libstdc++.so | grep GLIBCXX | sort -n
48
49
49
50
50
- # echo
51
+ echo
51
52
echo =========example1==============
52
53
# LD_DEBUG=libs,bindings,symbols python examples/example1.py
53
54
# LD_DEBUG=libs python examples/example1.py
You can’t perform that action at this time.
0 commit comments