Skip to content

throw opencl kernel compile issue when run test opencl case for example clBolt.Test.StableSort #234

@xqch1983

Description

@xqch1983

Hi ,
clone the bolt codes, compile on rocm1,9 and opencl-runtime, build the project with cmake commands as "cmake -DBOOST_LIBRARYDIR=/home/qcxie/software/boost_1_65_1/stage/lib -DBOOST_ROOT=/home/qcxie/software/boost_1_65_1 -DGTEST_ROOT=/home/qcxie/software/boost_1_65_1 -DCMAKE_BUILD_TYPE=Debug -DBolt_BUILD64=1 -DCMAKE_CXX_FLAGS="-std =c++14 -fpermissive -I /opt/rocm/opencl/include -L/opt/rocm/opencl/lib/x86_64 -lOpenCL" ../" successfully,
but, it throws cl kernels error in running test case, for example clBolt.Test.StableSort
" error: unknown type name 'namespace' namespace bolt { namespace cl { "
how i should do to configure or set buildprogram optimons to fix this issue? thanks very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions