Home
last modified time | relevance | path

Searched refs:phDevices (Results 1 – 25 of 38) sorted by relevance

12

/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/events/linux/
H A Dtest_zes_events.cpp84 delete[] phDevices; in TEST_F()
104 delete[] phDevices; in TEST_F()
118 delete[] phDevices; in TEST_F()
140 delete[] phDevices; in TEST_F()
162 delete[] phDevices; in TEST_F()
182 delete[] phDevices; in TEST_F()
197 delete[] phDevices; in TEST_F()
217 delete[] phDevices; in TEST_F()
240 delete[] phDevices; in TEST_F()
262 delete[] phDevices; in TEST_F()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/events/windows/
H A Dtest_zes_events.cpp76 zes_device_handle_t *phDevices = new zes_device_handle_t[1]; in TEST_F() local
77 phDevices[0] = device->toHandle(); in TEST_F()
80 …EXPECT_EQ(ZE_RESULT_SUCCESS, zesDriverEventListen(driverHandle->toHandle(), 100u, 1u, phDevices, &… in TEST_F()
82 delete[] phDevices; in TEST_F()
89 zes_device_handle_t *phDevices = new zes_device_handle_t[1]; in TEST_F() local
90 phDevices[0] = device->toHandle(); in TEST_F()
96 …T_SUCCESS, zesDriverEventListen(driverHandle->toHandle(), INFINITE, 1u, phDevices, &numDeviceEvent… in TEST_F()
98 delete[] phDevices; in TEST_F()
105 zes_device_handle_t *phDevices = new zes_device_handle_t[1]; in TEST_F() local
106 phDevices[0] = device->toHandle(); in TEST_F()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/source/driver/
H A Ddriver_handle.h28 ze_device_handle_t *phDevices,
30 virtual ze_result_t getDevice(uint32_t *pCount, ze_device_handle_t *phDevices) = 0;
49 …al ze_result_t sysmanEventsListen(uint32_t timeout, uint32_t count, zes_device_handle_t *phDevices,
51 … ze_result_t sysmanEventsListenEx(uint64_t timeout, uint32_t count, zes_device_handle_t *phDevices,
H A Ddriver_handle_imp.h25 ze_device_handle_t *phDevices,
27 ze_result_t getDevice(uint32_t *pCount, ze_device_handle_t *phDevices) override;
49 ze_result_t sysmanEventsListen(uint32_t timeout, uint32_t count, zes_device_handle_t *phDevices,
52 … ze_result_t sysmanEventsListenEx(uint64_t timeout, uint32_t count, zes_device_handle_t *phDevices,
H A Ddriver_handle_imp.cpp37 ze_device_handle_t *phDevices, in createContext() argument
52 context->addDeviceAndSubDevices(Device::fromHandle(phDevices[i])); in createContext()
240 ze_result_t DriverHandleImp::getDevice(uint32_t *pCount, ze_device_handle_t *phDevices) { in getDevice() argument
246 if (phDevices == nullptr) { in getDevice()
251 phDevices[i] = this->devices[i]; in getDevice()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/unit_tests/mocks/
H A Dmock_driver_handle.cpp29 ze_result_t Mock<DriverHandle>::getDevice(uint32_t *pCount, ze_device_handle_t *phDevices) { in getDevice() argument
35 if (phDevices == nullptr) // User is expected to allocate space in getDevice()
38 phDevices[0] = &this->device; in getDevice()
H A Dmock_driver_handle.h45 ze_device_handle_t *phDevices) override;
H A Dmock_context.h61 …st ze_event_pool_desc_t *desc, uint32_t numDevices, ze_device_handle_t *phDevices, ze_event_pool_h…
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/source/event/
H A Devent.cpp41 …alize(DriverHandle *driver, Context *context, uint32_t numDevices, ze_device_handle_t *phDevices) { in initialize() argument
60 eventDevice = Device::fromHandle(phDevices[i]); in initialize()
157 …dle *driver, Context *context, uint32_t numDevices, ze_device_handle_t *phDevices, const ze_event_… in create() argument
165 result = eventPool->initialize(driver, context, numDevices, phDevices); in create()
H A Devent.h176 …dle *driver, Context *context, uint32_t numDevices, ze_device_handle_t *phDevices, const ze_event_…
222 …ialize(DriverHandle *driver, Context *context, uint32_t numDevices, ze_device_handle_t *phDevices);
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/
H A Dsysman.cpp53 zes_device_handle_t *phDevices, in sysmanEventsListen() argument
61 …gotSysmanEvent = L0::SysmanDevice::fromHandle(phDevices[devIndex])->deviceEventListen(pEvents[devI… in sysmanEventsListen()
79 zes_device_handle_t *phDevices, in sysmanEventsListenEx() argument
87 …gotSysmanEvent = L0::SysmanDevice::fromHandle(phDevices[devIndex])->deviceEventListen(pEvents[devI… in sysmanEventsListenEx()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/api/core/
H A Dze_event.cpp16 ze_device_handle_t *phDevices, in zeEventPoolCreate() argument
18 …return L0::Context::fromHandle(hContext)->createEventPool(desc, numDevices, phDevices, phEventPool… in zeEventPoolCreate()
H A Dze_device.cpp18 ze_device_handle_t *phDevices) { in zeDeviceGet() argument
19 return L0::DriverHandle::fromHandle(hDriver)->getDevice(pCount, phDevices); in zeDeviceGet()
H A Dze_context.cpp25 ze_device_handle_t *phDevices, in zeContextCreateEx() argument
27 …return L0::DriverHandle::fromHandle(hDriver)->createContext(desc, numDevices, phDevices, phContext… in zeContextCreateEx()
/dports/devel/level-zero/level-zero-1.7.4/source/drivers/null/
H A Dze_null.cpp34 ze_device_handle_t* phDevices ) in context_t()
37 if( nullptr != phDevices ) *reinterpret_cast<void**>( phDevices ) = context.get(); in context_t()
/dports/devel/ispc/ispc-1.16.1/ispcrt/tests/level_zero_mock/
H A Dze_mock_driver.cpp61 ze_result_t zeDeviceGet(ze_driver_handle_t hDriver, uint32_t *pCount, ze_device_handle_t *phDevices in zeDeviceGet() argument
64 if (phDevices) { in zeDeviceGet()
66 phDevices[i] = reinterpret_cast<ze_device_handle_t>(Config::getDevicePtr(i)); in zeDeviceGet()
187 ze_device_handle_t *phDevices, ze_event_pool_handle_t *phEventPool) { in zeEventPoolCreate() argument
189 if (hContext != ContextHandle.get() || numDevices == 0 || !phDevices || !phEventPool) in zeEventPoolCreate()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/experimental/source/tracing/
H A Dtracing_event_imp.cpp14 ze_device_handle_t *phDevices, in zeEventPoolCreate_Tracing() argument
21 phDevices, in zeEventPoolCreate_Tracing()
28 tracerParams.pphDevices = &phDevices; in zeEventPoolCreate_Tracing()
H A Dtracing_device_imp.cpp13 ze_device_handle_t *phDevices) { in zeDeviceGet_Tracing() argument
18 phDevices); in zeDeviceGet_Tracing()
23 tracerParams.pphDevices = &phDevices; in zeDeviceGet_Tracing()
H A Dtracing_event_imp.h16 ze_device_handle_t *phDevices,
H A Dtracing_device_imp.h15 ze_device_handle_t *phDevices);
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/api/sysman/
H A Dzes_sysman.cpp666 zes_device_handle_t *phDevices, in zesDriverEventListen() argument
669 …return L0::DriverHandle::fromHandle(hDriver)->sysmanEventsListen(timeout, count, phDevices, pNumDe… in zesDriverEventListen()
677 zes_device_handle_t *phDevices, in zesDriverEventListenEx() argument
680 …return L0::DriverHandle::fromHandle(hDriver)->sysmanEventsListenEx(timeout, count, phDevices, pNum… in zesDriverEventListenEx()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/source/context/
H A Dcontext.h126 ze_device_handle_t *phDevices,
H A Dcontext_imp.h107 ze_device_handle_t *phDevices,
/dports/devel/level-zero/level-zero-1.7.4/source/lib/
H A Dzes_libapi.cpp580 …zes_device_handle_t* phDevices, ///< [in][range(0, count)] Device handles to liste… in zesDriverEventListen() argument
598 return pfnEventListen( hDriver, timeout, count, phDevices, pNumDeviceEvents, pEvents ); in zesDriverEventListen()
630 …zes_device_handle_t* phDevices, ///< [in][range(0, count)] Device handles to liste… in zesDriverEventListenEx() argument
648 return pfnEventListenEx( hDriver, timeout, count, phDevices, pNumDeviceEvents, pEvents ); in zesDriverEventListenEx()
H A Dze_libapi.cpp290 …ze_device_handle_t* phDevices ///< [in,out][optional][range(0, *pCount)] array o… in zeDeviceGet() argument
299 return pfnGet( hDriver, pCount, phDevices ); in zeDeviceGet()
867 …ze_device_handle_t* phDevices, ///< [in][optional][range(0, numDevices)] array of… in zeContextCreateEx() argument
879 return pfnCreateEx( hDriver, desc, numDevices, phDevices, phContext ); in zeContextCreateEx()
2035 …ze_device_handle_t* phDevices, ///< [in][optional][range(0, numDevices)] array of… in zeEventPoolCreate() argument
2046 return pfnCreate( hContext, desc, numDevices, phDevices, phEventPool ); in zeEventPoolCreate()

12