mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Add kernel algorithm to check any argument is using system memory
Related-To: NEO-6959 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5a3a39a281
commit
e07f9f0698
@@ -471,6 +471,11 @@ TEST_F(CloneKernelTest, givenArgSvmWhenCloningKernelThenKernelInfoIsCorrect) {
|
||||
}
|
||||
|
||||
TEST_F(CloneKernelTest, givenArgSvmAllocWhenCloningKernelThenKernelInfoIsCorrect) {
|
||||
const ClDeviceInfo &devInfo = device1->getDeviceInfo();
|
||||
if (devInfo.svmCapabilities == 0) {
|
||||
GTEST_SKIP();
|
||||
}
|
||||
|
||||
pKernelInfo->addArgBuffer(0, 0x20, sizeof(void *));
|
||||
|
||||
char memory[100] = {};
|
||||
|
||||
Reference in New Issue
Block a user