diff options
author | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2022-12-11 22:59:57 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-12-12 09:55:20 +0800 |
commit | 1153290b11f43e6f6b7bdaec1351caab70d49328 (patch) | |
tree | e6d21d3ea9bc79fe5bf75f5d4078799aa06626fc /conf/machine/include/meta-intel.inc | |
parent | 6ca9a5cb96df3a9a46f13c66d322191f91574917 (diff) | |
download | meta-intel-1153290b11f43e6f6b7bdaec1351caab70d49328.tar.gz |
ispc : Add ptest
- ispc-ptest is taking around 225 seconds to execute
- Below is the run log of ispc-ptest
START: ptest-runner
2022-12-07T15:43
root@qemux86-64:/usr/lib/ispc/ptest# ptest-runner ispc
BEGIN: /usr/lib/ispc/ptest
Testing ISPC compiler: ../../../bin/ispc
Testing ISPC target: sse4-i32x4
Testing ISPC arch: x86-64
Using test compiler: Intel(r) Implicit SPMD Program Compiler (Intel(r) ISPC), 1.17.0 (build commit 7ad8429369a4d5ce @ 20220115, LLVM 12.0.0)
Using C/C++ compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d28af7c654d8db0b68c175db5ce212d74fb5e9bc)
Running 4 jobs in parallel. Running 1382 tests.
Test varying int64: [-10000000001,-10000000002,-10000000003,-10000000004], [10000000001,10000000002,10000000003,10000000004]
Test varying int64: [-10000000001,-10000000002,-10000000003,-10000000004], [10000000001,10000000002,10000000003,10000000004]
Test varying int8: [-1,-2,-3,-4], [1,2,3,4]spc]
Test varying int8: [-1,-2,-3,-4], [1,2,3,4]
Test uniform int64: -10000000005, 10000000005
Test uniform int64: -10000000005, 10000000005
Test uniform int8: -5, 5s/paddus-vi64.ispc]
Test uniform int8: -5, 5
Test bool: uniform: true, false; varying: [false,true,true,false], [true,false,false,true]; in simd cf: [_________,_________,true,false], [_________,_________,false,true].
Test bool: uniform: true, false; varying: [false,true,true,false], [true,false,false,true]; in simd cf: [_________,_________,true,false], [_________,_________,false,true].
Test uniform double: 18.250000-float-uniform.ispc]
Test uniform double: 18.250000
Test varying int16: [-2,-3,-4,-5], [2,3,4,5]ispc]
Test varying int16: [-2,-3,-4,-5], [2,3,4,5]
Test bool: uniform: true, false; varying: [false,true,true,false], [true,false,false,true]
Test bool: uniform: true, false; varying: [false,true,true,false], [true,false,false,true]
Test uniform int16: -6, 6/psubus-i16.ispc]
Test uniform int16: -6, 6
Test varying simd: small ones: [((1)),2,((3)),4]
Test varying simd: small ones: [((1)),2,((3)),4]
Test uniform int32: -7, 7/packed-store.ispc]
Test uniform int32: -7, 7
Test varying int32: [-3,-4,-5,-6], [3,4,5,6]
Test varying int32: [-3,-4,-5,-6], [3,4,5,6]
Test varying double: [14.250000,15.250000,16.250000,17.250000]
Test varying double: [14.250000,15.250000,16.250000,17.250000]
Test uniform float: 9.750000catter-mask-2.ispc]
Test uniform float: 9.750000
Hello World! 1382 [./tests/gs-double-improve-multidim-2.ispc]
Hello World!
Test varying float: [5.750000,6.750000,7.750000,8.750000]
Test varying float: [5.750000,6.750000,7.750000,8.750000]
Done 1382 / 1382 [./tests/test-11.ispc]
Executed 1356 / 1382 (26 skipped)
PASSRATE (1356/1356) = 100%
PASS: ./tests/store-int8.ispc
PASS: ./tests/phi-opts-4.ispc
PASS: ./tests/pmulus-i32.ispc
PASS: ./tests/new-delete-3.ispc
PASS: ./tests/funcptr-varying-6.ispc
PASS: ./tests/short-circuit-5.ispc
PASS: ./tests/funcptr-uniform-6.ispc
PASS: ./tests/reduce-equal-4.ispc
PASS: ./tests/test-12.ispc
PASS: ./tests/1475-int64.ispc
PASS: ./tests/test-49.ispc
PASS: ./tests/packed-load-64-4.ispc
PASS: ./tests/gs-improve-multidim-1.ispc
PASS: ./tests/packed-load-64-2.ispc
SKIP: ./tests/max-float16-1.ispc
....
....
1356 / 1382 tests PASSED
0 / 1382 tests FAILED compilation
0 / 1382 tests FAILED execution
26 / 1382 tests SKIPPED
./tests/abs-float16.ispc
./tests/broadcast-5.ispc
./tests/clampfloat16_uniform.ispc
./tests/clampfloat16_varying.ispc
./tests/exp-uniform-float16.ispc
./tests/exp-varying-float16.ispc
./tests/isnan_float16.ispc
./tests/log-uniform-float16.ispc
./tests/log-varying-float16.ispc
./tests/max-float16-1.ispc
./tests/max-float16-2.ispc
./tests/min-float16-1.ispc
./tests/min-float16-2.ispc
./tests/pow-uniform-float16.ispc
./tests/pow-varying-float16.ispc
./tests/print_uniform-f16.ispc
./tests/print_varying-f16.ispc
./tests/rotate-7.ispc
./tests/shift-4.ispc
./tests/shuffle-6.ispc
./tests/shuffle2-12.ispc
./tests/uniform-float16-rcp.ispc
./tests/varying-float16-rcp.ispc
./tests/xe-task-count.ispc
./tests/xe-task-index-1.ispc
./tests/xe-task-index.ispc
No new fails
DURATION: 225
END: /usr/lib/ispc/ptest
2022-12-07T15:47
STOP: ptest-runner
TOTAL: 1 FAIL: 0
- some tests are skipped based on the target architecture
- change the test script to compile test programs on target with --pic option to avoid error "'.rodata'
can not be used when making a PIE object" when executing tests on target
- adds new print function to the test script to print test result in ptest format
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'conf/machine/include/meta-intel.inc')
0 files changed, 0 insertions, 0 deletions