diff --git a/samples/usvm/100_udmemhelloworld/main.cpp b/samples/usvm/100_udmemhelloworld/main.cpp index 37a2e3d..8cbe619 100644 --- a/samples/usvm/100_udmemhelloworld/main.cpp +++ b/samples/usvm/100_udmemhelloworld/main.cpp @@ -73,7 +73,7 @@ int main( cl_uint* d_src = (cl_uint*)clSVMAllocWithPropertiesEXP( context(), props, - CL_SVM_CAPABILITY_DEVICE_OWNED_EXP, + CL_SVM_TYPE_MACRO_DEVICE_EXP, CL_MEM_READ_WRITE, gwx * sizeof(cl_uint), 0, @@ -81,7 +81,7 @@ int main( cl_uint* d_dst = (cl_uint*)clSVMAllocWithPropertiesEXP( context(), props, - CL_SVM_CAPABILITY_DEVICE_OWNED_EXP, + CL_SVM_TYPE_MACRO_DEVICE_EXP, CL_MEM_READ_WRITE, gwx * sizeof(cl_uint), 0, diff --git a/samples/usvm/101_udmemlinkedlist/main.cpp b/samples/usvm/101_udmemlinkedlist/main.cpp index 5db8bbf..f61ef9f 100644 --- a/samples/usvm/101_udmemlinkedlist/main.cpp +++ b/samples/usvm/101_udmemlinkedlist/main.cpp @@ -58,7 +58,7 @@ static void init( cl::Context& context, cl::Device& device ) d_head = (Node*)clSVMAllocWithPropertiesEXP( context(), props, - CL_SVM_CAPABILITY_DEVICE_OWNED_EXP, + CL_SVM_TYPE_MACRO_DEVICE_EXP, CL_MEM_READ_WRITE, sizeof(Node), 0, @@ -75,7 +75,7 @@ static void init( cl::Context& context, cl::Device& device ) h_cur.pNext = (Node*)clSVMAllocWithPropertiesEXP( context(), props, - CL_SVM_CAPABILITY_DEVICE_OWNED_EXP, + CL_SVM_TYPE_MACRO_DEVICE_EXP, CL_MEM_READ_WRITE, sizeof(Node), 0, diff --git a/samples/usvm/200_uhmemhelloworld/main.cpp b/samples/usvm/200_uhmemhelloworld/main.cpp index 7141d8b..8878529 100644 --- a/samples/usvm/200_uhmemhelloworld/main.cpp +++ b/samples/usvm/200_uhmemhelloworld/main.cpp @@ -67,7 +67,7 @@ int main( cl_uint* h_src = (cl_uint*)clSVMAllocWithPropertiesEXP( context(), nullptr, - CL_SVM_CAPABILITY_HOST_OWNED_EXP, + CL_SVM_TYPE_MACRO_HOST_EXP, CL_MEM_READ_WRITE, gwx * sizeof(cl_uint), 0, @@ -75,7 +75,7 @@ int main( cl_uint* h_dst = (cl_uint*)clSVMAllocWithPropertiesEXP( context(), nullptr, - CL_SVM_CAPABILITY_HOST_OWNED_EXP, + CL_SVM_TYPE_MACRO_HOST_EXP, CL_MEM_READ_WRITE, gwx * sizeof(cl_uint), 0, diff --git a/samples/usvm/201_uhmemlinkedlist/main.cpp b/samples/usvm/201_uhmemlinkedlist/main.cpp index 84d79f2..dc9c053 100644 --- a/samples/usvm/201_uhmemlinkedlist/main.cpp +++ b/samples/usvm/201_uhmemlinkedlist/main.cpp @@ -52,7 +52,7 @@ static void init( cl::Context& context, cl::Device& device ) h_head = (Node*)clSVMAllocWithPropertiesEXP( context(), nullptr, - CL_SVM_CAPABILITY_HOST_OWNED_EXP, + CL_SVM_TYPE_MACRO_HOST_EXP, CL_MEM_READ_WRITE, sizeof(Node), 0, @@ -69,7 +69,7 @@ static void init( cl::Context& context, cl::Device& device ) h_cur->pNext = (Node*)clSVMAllocWithPropertiesEXP( context(), nullptr, - CL_SVM_CAPABILITY_HOST_OWNED_EXP, + CL_SVM_TYPE_MACRO_HOST_EXP, CL_MEM_READ_WRITE, sizeof(Node), 0,