summaryrefslogtreecommitdiff
path: root/benchmark/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2017-05-18Add image use_hostptr benchmark case for testing large image operations.Yan Wang1-0/+1
It is for testing large image with TILE_Y mode. Signed-off-by: Yan Wang <yan.wang@linux.intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
2016-08-03Benchmark: Evaluate math performance on intervalsGrigore Lupescu1-1/+2
Functions to benchmark math functions on intervals. Tests: sin, cos, exp2, exp, exp10, log2, log, log10 Signed-off-by: Grigore Lupescu <grigore.lupescu at intel.com> Reviewed-by: Ruiling Song <ruiling.song@intel.com>
2016-07-20CMAKE: Make utests and benchmark not build for defaultPan Xiuli1-0/+1
Now make will only make beignet library, if you want beignet utest or benchmark you can use make utest and make benchmark to build them. This will make build time for beignet shorter when utests are not needed. Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
2016-05-18Benchmark: Add performance tests for workgroup reduce/scan functionsGrigore Lupescu1-1/+2
Added the following performance tests: benchmark_workgroup_reduce_add_int benchmark_workgroup_reduce_add_long benchmark_workgroup_reduce_min_int benchmark_workgroup_reduce_min_long benchmark_workgroup_scan_inclusive_add_int benchmark_workgroup_scan_inclusive_add_long benchmark_workgroup_scan_inclusive_min_int benchmark_workgroup_scan_inclusive_min_long Signed-off-by: Grigore Lupescu <grigore.lupescu at intel.com> Reviewed-by: Pan Xiuli <xiuli.pan@intel.com>
2015-11-06add benckmark for copy data from image to imageMeng Mengmeng1-1/+2
Set the data format as 1920 * 1080 four channels(RGBA) and type as char,short and int. Signed-off-by: Meng Mengmeng <mengmeng.meng@intel.com> Reviewed-by: Ruiling Song <ruiling.song@intel.com>
2015-11-06add benckmark for copy data from buffer to bufferMeng Mengmeng1-1/+2
Set the data format as 1920 * 1080 four channels and type as char,short and int. Signed-off-by: Meng Mengmeng <mengmeng.meng@intel.com> Reviewed-by: Ruiling Song <ruiling.song@intel.com>
2015-05-04add benckmark for copy data from buffer to image.Luo Xionghu1-0/+1
v2: use random input data; update comments. v3: change the image attribute to __write_only. Signed-off-by: Luo Xionghu <xionghu.luo@intel.com> Reviewed-by: "Weng, Chuanbo" <chuanbo.weng@intel.com>
2015-02-13Add benchmark of clEnqueueCopyImageToBuffer(copy 2d image to buffer).Chuanbo Weng1-1/+2
v2: Change test image size from (width, height) = (960, 540) to (960 * 4, 540 * 4), becaue larger workload get more stable benchmark result. Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2015-02-06Refine copy_buf benchmark and rename the file.Chuanbo Weng1-1/+1
Some refinement for copy_buf benchmark: 1. We should measure execution time of clEnqueueCopyBuffer(buffer creation and initialization time should not be included). 2. Add clFinish before gettimeofday. 3. Rename the file in order to keep the name format the same as other benchmarks. v2: Change output measurement from time to bandwidth. Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2015-01-09Add read buffer/image benchmark.Yang Rong1-1/+3
Add there two benchmark to compare the buffer and image performance V2: init the coord before read image. V3: Correct the image's width and buffer's read index. Signed-off-by: Yang Rong <rong.r.yang@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2014-12-02add test of cl_mem_use_host_ptr into benchmarkGuo Yejun1-1/+2
and also refine the code to move time_subtract into utest_helper.hpp/cpp Signed-off-by: Guo Yejun <yejun.guo@intel.com> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
2014-09-03Add new vload benchmark/test case.Zhigang Gong1-0/+5
v2: refine the benchmark case and don't mix it with normal unit test cases. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
2014-06-04add DRM_LIBDIR path into link directory listLi Peng1-1/+1
Then beignet can link to user preferred drm library rather than default Signed-off-by: Li Peng <peng.li@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2014-04-30Init Benchmark suiteYi Sun1-0/+21
The first benchmark case is name enqueue_copy_buf. Signed-off-by: Yi Sun <yi.sun@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>