barrierOutsideDispatch
On this page

barrierOutsideDispatch()

Function in Backends

The error every CPU path throws when a barrier runs outside a dispatch: a barrier waits for the other invocations of the workgroup, and one invocation run alone, by a direct fns call or by a debug session, has none.

import { barrierOutsideDispatch } from 'typeshade'

The signature, the description and the examples come from the compiler's own source at commit 26de7be8.

Syntax

const barrierOutsideDispatch: (fn: string) => Error

Parameters

fn string

Return value

Error

Description

The values after it would be ones no workgroup produces, so the run refuses and names the fix.

Source

src/core/intrinsics.ts, line 146, at commit 26de7be8

Edit this page Report a problem