Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用pyopencl访问内置内核_Opencl_Intel_Pyopencl - Fatal编程技术网

使用pyopencl访问内置内核

使用pyopencl访问内置内核,opencl,intel,pyopencl,Opencl,Intel,Pyopencl,我对使用Python OpenCL(pyopencl)访问Intel OpenCL内置的运动估计API感兴趣。下面的链接对此进行了描述 他们描述了一个在C++中访问这个内核的简单方法。 cl_program program = clCreateProgramWithBuiltInKernels(context,1,device,"block_motion_estimate_intel",&err); cl_kernel kernel = clCreateKernel

我对使用Python OpenCL(pyopencl)访问Intel OpenCL内置的运动估计API感兴趣。下面的链接对此进行了描述

他们描述了一个在C++中访问这个内核的简单方法。

cl_program program = clCreateProgramWithBuiltInKernels(context,1,device,"block_motion_estimate_intel",&err);
cl_kernel kernel = clCreateKernel(program, "block_motion_estimate_intel", &err);
我正试图通过pyopencl做同样的事情,但是找不到合适的函数来访问内置内核。有谁能帮忙解释一下吗