1#ifndef HALIDE_HALIDERUNTIMEWEBGPU_H
2#define HALIDE_HALIDERUNTIMEWEBGPU_H
5#ifndef HALIDE_HALIDERUNTIME_H
19#define HALIDE_RUNTIME_WEBGPU
27 const char *src,
int size);
30 const char *entry_name,
31 int blocksX,
int blocksY,
int blocksZ,
32 int threadsX,
int threadsY,
int threadsZ,
This file declares the routines used by Halide internally in its runtime.
void halide_webgpu_finalize_kernels(void *user_context, void *state_ptr)
const struct halide_device_interface_t * halide_webgpu_device_interface()
int halide_webgpu_run(void *user_context, void *state_ptr, const char *entry_name, int blocksX, int blocksY, int blocksZ, int threadsX, int threadsY, int threadsZ, int shared_mem_bytes, halide_type_t arg_types[], void *args[], int8_t arg_is_buffer[])
int halide_webgpu_initialize_kernels(void *user_context, void **state_ptr, const char *src, int size)
These are forward declared here to allow clients to override the Halide WebGPU runtime.
signed __INT8_TYPE__ int8_t
Each GPU API provides a halide_device_interface_t struct pointing to the code that manages device all...
A runtime tag for a type in the halide type system.