clBuildProgram Crash During Execution of ocl_extended_test int

I am encountering an issue while executing ocl_extended_test int during development for the AM62x board using Rogue DDK version 23.3. The clBuildProgram function crashes, and further backtrace analysis reveals the following:

A segmentation fault occurs during the call to MergeAllBasicBlocks(psState) within the function DropNoEmitExecPredInstructions(PSTATE psState).
File Path: /rogue/compiler/usc/rogue/execpred/execpred.c.

Additional Observations:
When executing ocl_extended_test char, the tests pass successfully.

Request for Help:
Could someone please investigate this issue or provide guidance on the possible cause? Let me know if further information is required.

Development Environment:
Board: AM62x
Rogue DDK Version: 23.3
Thank you in advance for your support!

Hi Tamizharasan,

Thanks a lot for your message and welcome to the PowerVR Developer Forum!

I have reported internally the issue you are experiencing and will come back with any updates.

Best regards,
Alejandro

Hi Tamizharasan,

It would be helpfull if you could please answer the questions below:

  1. Could you please provide full details of the OS running on the AM62x board?
  2. Regarding the drivers you arer working with, are they built and supplied by TI or you built them yourself?

Best regards,
Alejandro

Hi Alejandro,

  1. We are running VxWorks OS on the AM62x board.
  2. We have developed the drivers ourselves. The same built code is working without any issues on the TDA4 board.

Hi Tamizharasan,

Have you tried running ocl_extended_test int on the AM62x board under a Linux environment?

Best regards,
Alejandro

Hi Alejandro,
I have tried running ocl_extended_test int in the AM62x Linux environment, and it is working successfully. We have used this as a reference and ported it to VxWorks.

Hi Tamizharasan,

Since the issue happens on the new operating system (VxWorks) it does not seem to be a faulty code from IMG’s side.

I recommend you contact IMG for internal support regarding the port you are working on.

Best regards,
Alejandro