mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-24 15:59:03 +00:00
Use clMemWrapper in math_brute_force (#1476)
Simplify code by avoiding manual resource management. Original patch by Marco Antognini. Signed-off-by: Marco Antognini <marco.antognini@arm.com> Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com> Signed-off-by: Marco Antognini <marco.antognini@arm.com> Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
8f5a2f0ae8
commit
f94c135755
@@ -28,6 +28,9 @@ using KernelMatrix = std::array<std::vector<cl_kernel>, VECTOR_SIZE_COUNT>;
|
||||
// Array of programs for each vector size.
|
||||
using Programs = std::array<clProgramWrapper, VECTOR_SIZE_COUNT>;
|
||||
|
||||
// Array of buffers for each vector size.
|
||||
using Buffers = std::array<clMemWrapper, VECTOR_SIZE_COUNT>;
|
||||
|
||||
// Information to generate OpenCL kernels.
|
||||
struct BuildKernelInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user