1Mb alignment support in OsAgnostic path

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
Katarzyna Cencelewska
2021-02-19 11:45:53 +00:00
committed by Compute-Runtime-Automation
parent 66cff28002
commit d9172c9b7f
12 changed files with 190 additions and 22 deletions

View File

@@ -371,18 +371,17 @@ TEST_F(PerformanceHintTest, givenPrintDriverDiagnosticsDebugModeEnabledWhenHintI
auto context = Context::create<MockContext>(nullptr, ClDeviceVector(&clDevice, 1), nullptr, nullptr, retVal);
testing::internal::CaptureStdout();
auto buffer = Buffer::create(
auto buffer = std::unique_ptr<Buffer>(Buffer::create(
context,
CL_MEM_READ_ONLY,
4096,
nullptr,
retVal);
retVal));
std::string output = testing::internal::GetCapturedStdout();
EXPECT_NE(0u, output.size());
EXPECT_EQ('\n', output[0]);
buffer->release();
context->release();
}