This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2: OpenCL use case running Failed (Build via Linux)

Part Number: TDA2


Tool/software: Linux

Dear TI:

After build the OpenCL successfully ((Linux) and run the OpenCL use case , I got the below issue:

[HOST] [HOST ] 194.371225 s: Kernel Set Arg Error: -48
[HOST] [HOST ] 194.371225 s: Kernel Set Arg Error: -48
[HOST] [HOST ] 194.371225 s: Kernel Set Arg Error: -48
[HOST] [HOST ] 194.403922 s: Kernel Set Arg Error: -48
[HOST] [HOST ] 194.403922 s: Kernel Set Arg Error: -48
[HOST] [HOST ] 194.403922 s: Kernel Set Arg Error: -48
[HOST] [HOST ] 194.403952 s: Kernel Set Arg Error: -48
[HOST] [HOST ] 194.403952 s: Kernel Set Arg Error: -48

Please advise.

Thanks and best regards

He Wei

  • Wei
    please refer VisionSDK_UserGuide_opencx.pdf to build and run openCL demos.
    Did you make any chances in VSDK or just trying to rebuild and run the demos?
    BTW, which openCL Usecase/demo you are trying out?

    regards, Shiju
  • Dear Shiju,

    You means we need to rebuild the openCL demos?
    Currently I am following VisionSDK_Linux_UserGuide.pdf to build with: MAKECONFIG=tda2xx_evm_linux_opencl

    After build successfully, and launching on sd card as:
    $> cd /opt/vision_sdk
    $> ./load_ocl_kos.sh (needed only for opencl usecases)
    $> source ./opencl_env.sh (needed only for opencl usecases)
    $> source ./vision_sdk_load.sh
    $> ./$(MAKEAPPNAME).out

    Then I select the 1st available OpenCL use case to run.

    So this will not work if not rebuild OpenCL demo following VisionSDK_UserGuide_opencx.pdf ?

    Thanks and best regards
    He Wei
  • He Wei
    Sorry, We had an issue with OpenCL, as the openCL demos on A15 Linux are broken from VSDK 3.2 onward due a non-compatibility issue between Linux Kernel and openCL pre-built package. OpenCL on A15 linux is depreciated from VSDK 3.2 release onwards

    regards, Shiju