Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions browsers/hardware-acceleration.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: Hardware Acceleration
description: GPU-accelerated rendering and streaming
---

<Tip>
**Research Preview** — Hardware acceleration is currently in research preview. Capacity may be limited and requires a Start-Up or Enterprise plan.
</Tip>

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:

<CodeGroup>
```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
)
```
</CodeGroup>

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.
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"pages": [
"browsers/replays",
"browsers/viewport",
"browsers/hardware-acceleration",
{
"group": "Profiles",
"pages": [
Expand Down