OCL-dev / ocl-icd

OpenCL ICD Loader (free software)
BSD 2-Clause "Simplified" License
76 stars 23 forks source link

Add cllayerinfo tool #27

Closed Kerilk closed 1 year ago

Kerilk commented 1 year ago

This adds the cllayerinfo tool that was added to the official ICD loader. It is important that each loader have it's own version of the tool as subtle difference between loader behavior could meaningfully impact layer configuration. The tool embeds the loader library code to load drivers and layers and then prints the list of loaded layer and their information. As of now, the layer library path, layer API version, and layer name are supported.