Home
last modified time | relevance | path

Searched refs:device_data (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp76 struct device_data { struct
98 struct device_data *device; argument
114 struct device_data *device;
147 struct device_data *device;
370 static struct device_data *new_device_data(VkDevice device, struct instance_data *instance) in new_device_data()
372 struct device_data *data = rzalloc(NULL, struct device_data); in new_device_data()
382 struct device_data *device_data) in new_queue_data() argument
384 struct queue_data *data = rzalloc(device_data, struct queue_data); in new_queue_data()
385 data->device = device_data; in new_queue_data()
397 VK_CHECK(device_data->vtable.CreateFence(device_data->device, in new_queue_data()
[all …]
/third_party/mesa3d/src/intel/nullhw-layer/
Dintel_nullhw.c46 struct device_data { struct
105 static void override_queue(struct device_data *device_data, in override_queue() argument
115 VK_CHECK(device_data->vtable.CreateCommandPool(device, in override_queue()
127 VK_CHECK(device_data->vtable.AllocateCommandBuffers(device, in override_queue()
130 VK_CHECK(device_data->set_device_loader_data(device, cmd_buffer)); in override_queue()
135 device_data->vtable.BeginCommandBuffer(cmd_buffer, &buffer_begin_info); in override_queue()
142 device_data->vtable.CmdSetPerformanceOverrideINTEL(cmd_buffer, &override_info); in override_queue()
144 device_data->vtable.EndCommandBuffer(cmd_buffer); in override_queue()
151 VK_CHECK(device_data->vtable.QueueSubmit(queue, 1, &submit_info, VK_NULL_HANDLE)); in override_queue()
153 VK_CHECK(device_data->vtable.QueueWaitIdle(queue)); in override_queue()
[all …]
/third_party/boost/libs/compute/perf/
Dperf_accumulate.cpp126 compute::vector<int> device_data( in main() local
132 tune_accumulate(device_data, trials, queue); in main()
136 double t = perf_accumulate(device_data, trials, queue); in main()
Dperf_cart_to_polar.cpp134 std::vector<float> device_data(PERF_N*2); in main() local
138 reinterpret_cast<float2_ *>(&device_data[0]), in main()
144 float device_value = device_data[i]; in main()
/third_party/boost/libs/compute/test/
Dtest_copy.cpp226 bc::vector<int> device_data(8, context); in BOOST_AUTO_TEST_CASE() local
231 bc::copy_async(host_data, host_data + 8, device_data.begin(), queue); in BOOST_AUTO_TEST_CASE()
237 CHECK_RANGE_EQUAL(int, 8, device_data, (1, 2, 3, 4, 5, 6, 7, 8)); in BOOST_AUTO_TEST_CASE()
238 BOOST_VERIFY(host_to_device_future.get() == device_data.end()); in BOOST_AUTO_TEST_CASE()
245 bc::copy_async(device_data.begin(), device_data.end(), host_data, queue); in BOOST_AUTO_TEST_CASE()
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/acl/
Dmodel_process.cc279 (void)aclrtFree(item.device_data); in DestroyInputsDataMem()
293 (void)aclrtFree(item.device_data); in DestroyOutputsBuffer()
295 (void)aclrtFreeHost(item.device_data); in DestroyOutputsBuffer()
404 info.cur_device_data = info.device_data; in CheckAndInitInput()
Dmodel_process.h31 void *device_data; member
/third_party/mindspore/mindspore/lite/src/runtime/kernel/ascend310/src/
Dmodel_process.cc261 aclrtFree(item.device_data); in DestroyInputsDataMem()
275 aclrtFree(item.device_data); in DestroyOutputsBuffer()
277 aclrtFreeHost(item.device_data); in DestroyOutputsBuffer()
407 info.cur_device_data = info.device_data; in CheckAndInitInput()
Dmodel_process.h34 void *device_data; member