Skip to main content
torch.jstorch.jstorch.js
Getting StartedPlaygroundContact
Login
torch.jstorch.jstorch.js
Documentation
IntroductionType SafetyTensor IndexingEinsumEinopsAutogradTraining a ModelProfiling & MemoryPyTorch MigrationBest PracticesRuntimesPerformance
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