mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Remove not used parameters in PlatformFixture SetUp function
Change-Id: Ib58c97e377218350cea19373dd1f193c4cc32a45
This commit is contained in:

committed by
sys_ocldev

parent
b563e07394
commit
686209874a
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Intel Corporation
|
||||
* Copyright (c) 2017 - 2018, Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@ -38,7 +38,7 @@ struct VAContextTest : public PlatformFixture,
|
||||
}
|
||||
|
||||
void SetUp() override {
|
||||
PlatformFixture::SetUp(numPlatformDevices, platformDevices);
|
||||
PlatformFixture::SetUp();
|
||||
|
||||
cl_platform_id platform = pPlatform;
|
||||
properties = new cl_context_properties[3];
|
||||
|
@ -37,7 +37,7 @@ using namespace OCLRT;
|
||||
class VaSharingTests : public ::testing::Test, public PlatformFixture {
|
||||
public:
|
||||
void SetUp() override {
|
||||
PlatformFixture::SetUp(numPlatformDevices, platformDevices);
|
||||
PlatformFixture::SetUp();
|
||||
vaSharing = new MockVaSharing;
|
||||
context.setSharingFunctions(&vaSharing->m_sharingFunctions);
|
||||
vaSharing->updateAcquiredHandle(sharingHandle);
|
||||
|
Reference in New Issue
Block a user