File tree Expand file tree Collapse file tree 7 files changed +31
-8
lines changed Expand file tree Collapse file tree 7 files changed +31
-8
lines changed Original file line number Diff line number Diff line change 3030 * to calculate cos of input vector elements
3131 *
3232 * Possible compile line:
33- * clang++ -g -fPIC examples/example3.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example3
33+ * . /opt/intel/oneapi/setvars.sh
34+ * g++ -g dpnp/backend/examples/example3.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example3
3435 *
3536 */
3637
Original file line number Diff line number Diff line change 2323// THE POSSIBILITY OF SUCH DAMAGE.
2424// *****************************************************************************
2525
26+ /* *
27+ * Example 5.
28+ *
29+ * This example shows simple usage of the DPNP C++ Backend RNG library
30+ *
31+ * Possible compile line:
32+ * . /opt/intel/oneapi/setvars.sh
33+ * g++ -g dpnp/backend/examples/example5.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example5
34+ *
35+ */
36+
2637#include < iostream>
2738
2839#include < dpnp_iface.hpp>
Original file line number Diff line number Diff line change 3030 * to calculate eigenvalues and eigenvectors of a symmetric matrix
3131 *
3232 * Possible compile line:
33- * clang++ -g -fPIC examples/example7.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example7
33+ * . /opt/intel/oneapi/setvars.sh
34+ * g++ -g dpnp/backend/examples/example7.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example7
3435 *
3536 */
3637
Original file line number Diff line number Diff line change 2323// THE POSSIBILITY OF SUCH DAMAGE.
2424// *****************************************************************************
2525
26- // clang++ -g -fPIC examples/example8.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example8
26+ /* *
27+ * Example 9.
28+ *
29+ * TODO explanation of the example
30+ *
31+ * Possible compile line:
32+ * . /opt/intel/oneapi/setvars.sh
33+ * g++ -g dpnp/backend/examples/example8.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example8
34+ *
35+ */
2736#include < iostream>
2837
2938#include " dpnp_iface.hpp"
Original file line number Diff line number Diff line change 3030 * to calculate sum of the given elements vector
3131 *
3232 * Possible compile line:
33- * clang++ dpnp/backend/examples/example9.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example9
33+ * . /opt/intel/oneapi/setvars.sh
34+ * g++ -g dpnp/backend/examples/example9.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example9
3435 *
3536 */
3637
Original file line number Diff line number Diff line change 3030 * to calculate black scholes algorithm like in Python version
3131 *
3232 * Possible compile line:
33- * clang++ -g -fPIC dpnp/backend/examples/example_bs.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example_bs
34- *
33+ * . /opt/intel/oneapi/setvars.sh
34+ * g++ -g dpnp/backend/examples/example_bs.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example_bs
3535 */
3636
3737#include < cmath>
Original file line number Diff line number Diff line change 2929 * This example shows how to get a runtime pointer from DPNP C++ Backend library
3030 *
3131 * Possible compile line:
32- * clang++ examples/example_experimental_iface.cpp -o example_experimental_iface -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c
33- *
32+ * . /opt/intel/oneapi/setvars.sh
33+ * g++ -g dpnp/backend/examples/example_experimental_iface.cpp -Idpnp -Idpnp/backend/include -Ldpnp -Wl,-rpath='$ORIGIN'/dpnp -ldpnp_backend_c -o example_experimental_iface
3434 */
3535
3636#include < iostream>
You can’t perform that action at this time.
0 commit comments