Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/test/
DTestGpuNnapi.cpp679 ASSERT_EQ(vkAllocateCommandBuffers(mDevice, &cmdBufferCreateInfo, &mCommandBuffer), in initialize()
689 ASSERT_EQ(vkBeginCommandBuffer(mCommandBuffer, &commandBufferBeginInfo), VK_SUCCESS); in initialize()
692 addBufferTransitionBarrier(mCommandBuffer, mOutputBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, in initialize()
698 vkCmdBindPipeline(mCommandBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, mPipeline); in initialize()
699 vkCmdBindDescriptorSets(mCommandBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, mPipelineLayout, 0, in initialize()
703 vkCmdDispatch(mCommandBuffer, dispatchSize.groupCountX, dispatchSize.groupCountY, 1); in initialize()
706 addBufferTransitionBarrier(mCommandBuffer, mOutputBuffer, in initialize()
712 ASSERT_EQ(vkEndCommandBuffer(mCommandBuffer), VK_SUCCESS); in initialize()
740 .pCommandBuffers = &mCommandBuffer, in runInternal()
793 VkCommandBuffer mCommandBuffer = VK_NULL_HANDLE; member in android::nn::__anon868b46440111::VulkanComputePipeline