mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Prepare OCL tests for switch to zebin
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7a4fb24448
commit
b7a780868a
@@ -181,6 +181,13 @@ TEST(ArgDescriptorIsReadOnly, GivenPointerArgWhenConstantAddressSpaceThenReturns
|
||||
EXPECT_FALSE(arg.isReadOnly());
|
||||
}
|
||||
|
||||
TEST(ArgDescriptorIsReadOnly, GivenPointerArgWhenAccessQualifierIsReadOnlyThenReturnsTrue) {
|
||||
NEO::ArgDescriptor arg;
|
||||
arg.as<NEO::ArgDescPointer>(true);
|
||||
arg.getTraits().accessQualifier = NEO::KernelArgMetadata::AccessReadOnly;
|
||||
EXPECT_TRUE(arg.isReadOnly());
|
||||
}
|
||||
|
||||
TEST(ArgDescriptorIsReadOnly, GivenSamplerArgThenReturnsTrue) {
|
||||
NEO::ArgDescriptor arg;
|
||||
arg.as<NEO::ArgDescSampler>(true);
|
||||
|
||||
Reference in New Issue
Block a user