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%
{
"context": "This criteria evaluates how well the engineer uses PyOpenCL's OpenGL interoperability features to share and process texture data between OpenGL and OpenCL contexts. The focus is on proper context setup, texture sharing, synchronization through acquire/release mechanisms, and correct image processing.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Shared Context Creation",
"description": "Creates an OpenCL context that shares resources with an existing OpenGL context using appropriate platform-specific properties (e.g., using cl.Context with gl_sharing properties, or pyopencl.tools.get_gl_sharing_context_properties())",
"max_score": 25
},
{
"name": "GL Texture Sharing",
"description": "Creates an OpenCL image object from an existing OpenGL texture using pyopencl.GLTexture (or cl.GLTexture) to enable shared access to the texture data between OpenGL and OpenCL",
"max_score": 20
},
{
"name": "Acquire GL Objects",
"description": "Properly acquires the OpenGL texture for OpenCL processing using cl.enqueue_acquire_gl_objects() before any OpenCL operations access the shared texture",
"max_score": 15
},
{
"name": "Release GL Objects",
"description": "Properly releases the OpenGL texture back to OpenGL using cl.enqueue_release_gl_objects() after OpenCL processing is complete and before OpenGL accesses it again",
"max_score": 15
},
{
"name": "Image Processing Kernel",
"description": "Implements an OpenCL kernel that correctly reads from the shared texture (using image2d_t and read_imagef/read_imageui), applies brightness adjustment to RGB channels while preserving alpha, and writes results using write_imagef/write_imageui",
"max_score": 15
},
{
"name": "Proper Synchronization",
"description": "Ensures proper synchronization between acquire and release operations, either through event dependencies or queue finish() calls, to prevent race conditions between OpenGL and OpenCL",
"max_score": 10
}
]
}