Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions libsyclinterface/tests/test_sycl_device_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ TEST_P(TestDPCTLSyclDeviceInterface, ChkGetBackendVersion)

TEST_P(TestDPCTLSyclDeviceInterface, ChkGetLocalMemType)
{
DPCTLLocalMemType lmt;
DPCTLLocalMemType lmt = DPCTL_LOCAL_MEM_TYPE_UNKNOWN;
EXPECT_NO_FATAL_FAILURE(lmt = DPCTLDevice_GetLocalMemType(DRef));
EXPECT_TRUE(lmt == DPCTL_LOCAL_MEM_TYPE_NONE ||
lmt == DPCTL_LOCAL_MEM_TYPE_LOCAL ||
Expand All @@ -619,7 +619,7 @@ TEST_P(TestDPCTLSyclDeviceInterface, ChkGetLocalMemType)

TEST_P(TestDPCTLSyclDeviceInterface, ChkGetPartitionTypeProperty)
{
DPCTLPartitionPropertyType ptp;
DPCTLPartitionPropertyType ptp = DPCTL_PARTITION_UNKNOWN;
EXPECT_NO_FATAL_FAILURE(ptp = DPCTLDevice_GetPartitionTypeProperty(DRef));
EXPECT_TRUE(
ptp == DPCTL_PARTITION_UNKNOWN || ptp == DPCTL_PARTITION_NO_PARTITION ||
Expand Down Expand Up @@ -768,7 +768,8 @@ TEST_P(TestDPCTLSyclDeviceInterface, ChkGetPartitionAffinityDomains)

TEST_P(TestDPCTLSyclDeviceInterface, ChkGetPartitionTypeAffinityDomain)
{
DPCTLPartitionAffinityDomainType ptad;
DPCTLPartitionAffinityDomainType ptad =
DPCTL_PARTITION_AFFINITY_DOMAIN_UNKNOWN;
EXPECT_NO_FATAL_FAILURE(
ptad = DPCTLDevice_GetPartitionTypeAffinityDomain(DRef));
EXPECT_TRUE(ptad == DPCTLPartitionAffinityDomainType::not_applicable ||
Expand Down
Loading