Forums - How can I offline compile a .cl file for Adreno GPU?

1 post / 0 new
How can I offline compile a .cl file for Adreno GPU?
571561962
Join Date: 31 Aug 23
Posts: 1
Posted: Tue, 2024-01-02 01:34

 

I tried adreno offline compiler aoc.exe -arch=a730 -api=OpenCL -cl-std=CL2.0 baz.cl
but I can not find the output file.
For information security reasons, I am unable to push the opencl kernel code to device and compile it at runtime.

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.