Skip to main content
torch.js has not been released yet.
torch.js logotorch.js logotorch.js
PlaygroundContact
Login
Documentation
IntroductionType SafetyTensor ExpressionsTensor IndexingEinsumEinopsAutogradTraining a ModelProfiling & MemoryPyTorch MigrationBest PracticesRuntimesPerformancePyTorch CompatibilityBenchmarksDType Coverage
Introduction
createBufferUsageMapModeWGPUBufferWGPUShaderModuleWGPUBindGroupLayoutWGPUBindGroupWGPUComputePipelineWGPUQuerySetWGPUComputePassEncoderWGPUCommandBufferWGPUCommandEncoderWGPUQueueWGPULimitsBufferDescriptorShaderModuleDescriptorComputePipelineDescriptorBufferBindingBindGroupEntryBindGroupDescriptorQuerySetDescriptorWGPUDeviceWGPUSupportedFeaturesWGPUAdapterWGPU
torch.js· 2026
LegalTerms of UsePrivacy Policy
/
/
  1. docs
  2. wgpu-native
  3. index

wgpu-native API Reference

Complete API documentation for wgpu-native.

wgpu-native

Functions

  • create - Create or return the WebGPU instance.

Types

  • WGPUBuffer - GPU buffer resource.
  • WGPUShaderModule - Compiled shader module.
  • WGPUBindGroupLayout - Bind group layout descriptor.
  • WGPUBindGroup - Bind group resource binding.
  • WGPUComputePipeline - Compute pipeline.
  • ...and 17 more