Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google/vulkan-performance-layers requires a call to vkDeviceWaitIdle … #1028

Closed
wants to merge 6 commits into from
Closed

google/vulkan-performance-layers requires a call to vkDeviceWaitIdle … #1028

wants to merge 6 commits into from

Conversation

phoenixxxx
Copy link
Contributor

…or vkQueueWaitIdle. Since we want to be able to use that layer in conjunction with Amber we need to somehow communicate that the Amber script has completed.

…or vkQueueWaitIdle. Since we want to be able to use that layer in conjunction with Amber we need to somehow communicate that the Amber script has completed.
@google-cla
Copy link

google-cla bot commented Jun 15, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

src/vulkan/command_buffer.cc Outdated Show resolved Hide resolved
@s-perron
Copy link
Collaborator

@phoenixxxx This failed most of the builds. One of the error messages is:

FAILED: src/CMakeFiles/amber_unittests.dir/vulkan/pipeline_test.cc.o
/usr/bin/g++  -DAMBER_CTS_VULKAN_HEADER=0 -DAMBER_ENABLE_CLSPV=1 -DAMBER_ENABLE_DXC=0 -DAMBER_ENABLE_LODEPNG=1 -DAMBER_ENABLE_RTTI=0 -DAMBER_ENABLE_SHADERC=1 -DAMBER_ENABLE_SPIRV_TOOLS=1 -DAMBER_ENGINE_DAWN=0 -DAMBER_ENGINE_VULKAN=1 -I../include -I../ -I../third_party/spirv-tools/include -I../third_party/vulkan-headers/include -I. -I../third_party/clspv/include -Ithird_party/clspv/include -I../third_party/shaderc/libshaderc/include -I../third_party/glslang/SPIRV/.. -Iinclude -I../third_party/glslang/SPIRV/../External -isystem ../third_party/googletest/googlemock/include -isystem ../third_party/googletest/googlemock -isystem ../third_party/googletest/googletest/include -isystem ../third_party/googletest/googletest -O2 -g -DNDEBUG -fPIE   -Wno-global-constructors -Wno-weak-vtables -fno-exceptions -fvisibility=hidden -Wall -Wextra -Wno-cast-function-type-strict -Wno-padded -Wno-switch-enum -Wno-unknown-pragmas -pedantic-errors -Werror -fno-rtti -std=gnu++17 -MD -MT src/CMakeFiles/amber_unittests.dir/vulkan/pipeline_test.cc.o -MF src/CMakeFiles/amber_unittests.dir/vulkan/pipeline_test.cc.o.d -o src/CMakeFiles/amber_unittests.dir/vulkan/pipeline_test.cc.o -c ../src/vulkan/pipeline_test.cc
../src/vulkan/pipeline_test.cc: In member function 'virtual void amber::vulkan::VulkanPipelineTest_AddBufferDescriptorAddPushConstant_Test::TestBody()':
../src/vulkan/pipeline_test.cc:29:52: error: no matching function for call to 'amber::vulkan::ComputePipeline::ComputePipeline(std::nullptr_t, int, std::vector<VkPipelineShaderStageCreateInfo>&)'
   29 |   ComputePipeline pipeline(nullptr, 0, create_infos);
      |                                                    ^
In file included from ../src/vulkan/pipeline_test.cc:19:
../src/vulkan/compute_pipeline.h:30:3: note: candidate: 'amber::vulkan::ComputePipeline::ComputePipeline(amber::vulkan::Device*, uint32_t, bool, const std::vector<VkPipelineShaderStageCreateInfo>&)'
   30 |   ComputePipeline(
      |   ^~~~~~~~~~~~~~~
../src/vulkan/compute_pipeline.h:30:3: note:   candidate expects 4 arguments, 3 provided
../src/vulkan/pipeline_test.cc: In member function 'virtual void amber::vulkan::VulkanPipelineTest_AddBufferDescriptorAddBufferTwice_Test::TestBody()':
../src/vulkan/pipeline_test.cc:41:52: error: no matching function for call to 'amber::vulkan::ComputePipeline::ComputePipeline(std::nullptr_t, int, std::vector<VkPipelineShaderStageCreateInfo>&)'
   41 |   ComputePipeline pipeline(nullptr, 0, create_infos);
      |                                                    ^
In file included from ../src/vulkan/pipeline_test.cc:19:
../src/vulkan/compute_pipeline.h:30:3: note: candidate: 'amber::vulkan::ComputePipeline::ComputePipeline(amber::vulkan::Device*, uint32_t, bool, const std::vector<VkPipelineShaderStageCreateInfo>&)'
   30 |   ComputePipeline(
      |   ^~~~~~~~~~~~~~~
../src/vulkan/compute_pipeline.h:30:3: note:   candidate expects 4 arguments, 3 provided

Please take a look.

@dneto0
Copy link
Collaborator

dneto0 commented Aug 28, 2023

Hi. @phoenixxxx we still need you to sign the CLA. Also, please rebase your changes on the main branch.

@s-perron
Copy link
Collaborator

s-perron commented Aug 30, 2023

Hi. @phoenixxxx we still need you to sign the CLA. Also, please rebase your changes on the main branch.

I believe the email address you use needs to be your @google.com address for the CLA to be automatically signed.

https://github.com/google/amber/pull/1028/checks?check_run_id=14485153716

@phoenixxxx
Copy link
Contributor Author

phoenixxxx commented Aug 30, 2023 via email

@phoenixxxx
Copy link
Contributor Author

I think maybe this PR should be closed?

@dj2 dj2 closed this Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants