Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

npm wasm

<script type="module">
  import { simd } from "https://unpkg.com/wasm-feature-detect?module";

  simd().then(simdSupported => {
    if (simdSupported) {
      /* SIMD support */
    } else {
      /* No SIMD support */
    }
  });
</script>
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #npm #wasm
ADD COMMENT
Topic
Name
8+5 =