<%inherit file="base.tpl.cpp"/>\ | |
<%namespace name="tests" file="opivv_opivx_test.tpl.cpp"/> | |
<% | |
import numpy as np | |
src1, src2, rs1 = parent.module.get_test_inputs(np.int32, N=5) | |
ref_vv = np.bitwise_xor(src1, src2) | |
ref_vx = np.bitwise_xor(src1, rs1) | |
%>\ | |
${tests.test_opivv_opivx("int32_t", op, src1, src2, rs1, ref_vv, ref_vx)} |