Skip to content
Discussion options

You must be logged in to vote

It roughly mirrors Vulkan's PhysicalDevice , Device, and Queue:
https://docs.vulkan.org/spec/latest/chapters/devsandqueues.html

Vulkan separates the concept of physical and logical devices. A physical device usually represents a single complete implementation of Vulkan (excluding instance-level functionality) available to the host, of which there are a finite number. A logical device represents an instance of that implementation with its own state and resources independent of other logical devices.

In WebGPU terms, the Adapter is your physical hardware and the Device is the "logical instance".

Queues are essentially a way to enqueue work to be performed on the GPU.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@iampi31415
Comment options

@greggman
Comment options

Comment options

You must be logged in to vote
2 replies
@iampi31415
Comment options

@kainino0x
Comment options

Answer selected by iampi31415
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants