I am trying to use adreno GPU in qualcomm RB5 in ubuntu environment by using pyopencl. Does anyone have experience of similar project through pyopencl?
import pyopencl as cl
Create a PyOpenCL context
ctx = cl.create_some_context()
Query the available OpenCL devices on the system
devices = ctx.devices
Iterate over the devices and print information about each one
for device in devices: print("Device name:", device.name) print("Device type:", cl.device_type.to_string(device.type)
if device.name.startswith("Adreno"): print("Adreno GPU is available.")