24.02.1
|
Go to the documentation of this file.
24 #include "tests/validation/fixtures/UNIT/QueueFixture.h"
58 std::string
extensions = cl::Device(cl_dev).getInfo<CL_DEVICE_EXTENSIONS>();
59 if(
extensions.find(
"cl_khr_priority_hints") != std::string::npos)
61 cl_int error = CL_SUCCESS;
68 cl_queue_properties queue_properties[] = { CL_QUEUE_PRIORITY_KHR, CL_QUEUE_PRIORITY_HIGH_KHR, 0 };
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
@ GpuOcl
Gpu target that leverages OpenCL.
TEST_CASE(FusedActivation, framework::DatasetMode::ALL)
Validate fused activation expecting the following behaviours:
#define EMPTY_BODY_FIXTURE_TEST_CASE(TEST_NAME, FIXTURE, MODE)
@ AclSuccess
Call succeeded, leading to valid state for all involved objects/data.
TEST_SUITE(QASYMM8_to_F32) FIXTURE_DATA_TEST_CASE(RunSmall
cl_int clReleaseCommandQueue(cl_command_queue command_queue)
#define ARM_COMPUTE_ASSERT(cond)
AclStatus AclGetClContext(AclContext ctx, cl_context *opencl_context)
Extract the underlying OpenCL context used by a given Compute Library context object.
const T * get() const
Access uderlying object.
StatusCode
Status code enum.
Copyright (c) 2017-2024 Arm Limited.
AclStatus AclGetClDevice(AclContext ctx, cl_device_id *opencl_device)
Extract the underlying OpenCL device id used by a given Compute Library context object.
cl_command_queue clCreateCommandQueueWithProperties(cl_context context, cl_device_id device, const cl_queue_properties *properties, cl_int *errcode_ret)
DatasetMode
Possible dataset modes.