THU-DSP-LAB / pocl

a clone of pocl that supports Ventus GPGPU as devices.
http://portablecl.org
MIT License
2 stars 4 forks source link

[CTS] compiler issue #69

Open zhoujingya opened 8 months ago

zhoujingya commented 8 months ago

目前跟这个clCompileProgram接口相关的问题已经定位到,最终调用pocl的接口时候,opencl的kernel_metadata还没有设置正确,测试用例:

__kernel void
CopyBuffer(
    __global float* src,
    __global float* dst )
{
    int id = (int)get_global_id(0);
    dst[id] = src[id];
}

./test_compiler simple_compile_only

zhoujingya commented 8 months ago

ping, @yangzexia @Jules-Kong 有没有想法的

yangzexia commented 8 months ago

kernel_metadata有好几个定义,具体是哪个

zhoujingya commented 8 months ago

kernel_metadata有好几个定义,具体是哪个

program->kernel_metada