tessl install tessl/pypi-pyopencl@2025.2.0Python wrapper for OpenCL enabling GPU and parallel computing with comprehensive array operations and mathematical functions
Agent Success
Agent success rate when using this tile
86%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.28x
Baseline
Agent success rate without this tile
67%
A utility that discovers and reports information about built-in kernels available on OpenCL devices.
Create a tool that discovers built-in kernels on OpenCL devices and provides structured information about them. The tool should:
The tool should be able to:
@generates
from typing import List, Dict, Any
def discover_builtin_kernels() -> List[Dict[str, Any]]:
"""
Discovers built-in kernels available on all OpenCL devices.
Returns:
A list of dictionaries, each containing:
- 'device_name': str - Name of the device
- 'device_type': str - Type of device (e.g., 'GPU', 'CPU')
- 'builtin_kernels': List[str] - List of built-in kernel names
Returns an empty list if no OpenCL devices are available.
"""
passProvides OpenCL device access and built-in kernel support.