MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / TEST_F

Function TEST_F

tests/unit/tensor.cpp:21–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19class NegativeTensor : public TensorTest {};
20
21TEST_F(NegativeTensor, ConcurrentTensor) {
22 TEST_DESCRIPTION(
23 "Try to create a tensor when sharingMode is VK_SHARING_MODE_CONCURRENT but queueFamilyIndexCount is 0 and "
24 "pQueueFamilyIndices is nullptr");
25 RETURN_IF_SKIP(InitBasicTensor());
26
27 VkTensorDescriptionARM desc = DefaultDesc();
28 VkTensorCreateInfoARM info = DefaultCreateInfo(&desc);
29
30 info.sharingMode = VK_SHARING_MODE_CONCURRENT;
31
32 m_errorMonitor->SetDesiredError("VUID-VkTensorCreateInfoARM-sharingMode-09722");
33 m_errorMonitor->SetDesiredError("VUID-VkTensorCreateInfoARM-sharingMode-09723");
34 vkt::Tensor tensor(*m_device, info);
35 m_errorMonitor->VerifyFound();
36}
37
38TEST_F(NegativeTensor, ConcurrentTensorMaintenance11) {
39 TEST_DESCRIPTION(

Callers

nothing calls this directly

Calls 15

BindTensorMemoryARMFunction · 0.85
operator newFunction · 0.85
operator deleteFunction · 0.85
CmdCopyTensorARMFunction · 0.85
QueueSubmitFunction · 0.85
DestroyTensorARMFunction · 0.85
SignalSemaphoreFunction · 0.85
CreateTensorARMFunction · 0.85
DefaultAllocatorFunction · 0.85
CmdBindDescriptorSetsFunction · 0.85
CmdBindPipelineFunction · 0.85

Tested by

no test coverage detected