mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
1Mb alignment support in OsAgnostic path
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
66cff28002
commit
d9172c9b7f
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user