harbor run -t openthoughts/tasktrove-mix-h5-skill-diverse-v2-mix-h5-skill-diverse-1173harbor download openthoughts/tasktrove-mix-h5-skill-diverse-v2-mix-h5-skill-diverse-1173Implement a small, CPU-backed subset of the CuPy API (enough for the provided tests) and place it under /app/ so the tests can import it as "import cupy". You do not need to implement GPU functionality — a pure NumPy-backed implementation is acceptable. Provide the module(s) and classes described below.
Files to provide (under /app/):
Required functionality (what to build)
A cupy package exposing array creation and manipulation utilities, dtype names, a trivial memory pool, and a simplified ElementwiseKernel facility:
CupyArray wrapper
ElementwiseKernel class
cupy.testing submodule
Behavioral notes and expected inputs/outputs (derived from tests)
Other implementation suggestions
Where to place the solution