diff --git a/browsers/hardware-acceleration.mdx b/browsers/hardware-acceleration.mdx new file mode 100644 index 00000000..f45e8ec3 --- /dev/null +++ b/browsers/hardware-acceleration.mdx @@ -0,0 +1,50 @@ +--- +title: Hardware Acceleration +description: GPU-accelerated rendering and streaming +--- + + +**Research Preview** — Hardware acceleration is currently in research preview. Capacity may be limited and requires a Start-Up or Enterprise plan. + + +Hardware acceleration enables GPU-accelerated rendering in Kernel browsers, providing enhanced performance for graphics-intensive workloads. + +## Enable hardware acceleration + +Set the `gpu` parameter to `true` when creating a browser: + + +```typescript Typescript/Javascript +import Kernel from '@onkernel/sdk'; + +const kernel = new Kernel(); + +const kernelBrowser = await kernel.browsers.create({ + gpu: true +}); +``` + +```python Python +from kernel import Kernel + +kernel = Kernel() + +kernel_browser = kernel.browsers.create( + gpu=True +) +``` + + +You can also enable hardware acceleration in the dashboard when deploying a browser under **Advanced Configuration**. + +## Use cases + +Hardware acceleration is useful for: +- High performance live view streaming +- Rendering complex 3D graphics or WebGL content +- Video processing and playback +- Canvas-heavy applications + +## Availability + +Hardware acceleration is available on Start-Up and Enterprise plans. Due to limited capacity during the research preview, GPU-enabled browsers may not always be available. diff --git a/docs.json b/docs.json index 8adf1124..5735fb85 100644 --- a/docs.json +++ b/docs.json @@ -89,6 +89,7 @@ "pages": [ "browsers/replays", "browsers/viewport", + "browsers/hardware-acceleration", { "group": "Profiles", "pages": [