Skip to content

Commit

Permalink
also prints process.release.name
Browse files Browse the repository at this point in the history
  • Loading branch information
John Owens committed Nov 5, 2024
1 parent 83d5fd1 commit c982b63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions both_webgpu/both.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ async function main(navigator) {
fail("Fatal error: Device does not support WebGPU.");
}
console.log("I am main! (WebGPU)");
if (typeof process !== "undefined") {
console.log(" Process release name:", process.release.name);
}

const workgroupSize = 64;
const memsrcSize = 2 ** 24;
Expand Down

0 comments on commit c982b63

Please sign in to comment.