<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
<entry>
  <name>bf16TensorCoreGemm</name>
  <cflags>
    <flag>--std=c++11</flag>
  </cflags>
  <cuda_api_list>
    <toolkit>cudaMallocManaged</toolkit>
    <toolkit>cudaDeviceSynchronize</toolkit>
    <toolkit>cudaFuncSetAttribute</toolkit>
    <toolkit>cudaEventCreate</toolkit>
    <toolkit>cudaEventRecord</toolkit>
    <toolkit>cudaEventSynchronize</toolkit>
    <toolkit>cudaEventElapsedTime</toolkit>
    <toolkit>cudaFree</toolkit>
  </cuda_api_list>
  <description><![CDATA[A CUDA sample demonstrating __nv_bfloat16 (e8m7) GEMM computation using the Warp Matrix Multiply and Accumulate (WMMA) API introduced with CUDA 11 in Ampere chip family tensor cores for faster matrix operations. This sample also uses async copy provided by cuda pipeline interface for gmem to shmem async loads which improves kernel performance and reduces register presssure.]]></description>
  <devicecompilation>whole</devicecompilation>
  <includepaths>
    <path>./</path>
    <path>../</path>
    <path>../../common/inc</path>
  </includepaths>
  <keyconcepts>
    <concept level="basic">Matrix Multiply</concept>
    <concept level="advanced">WMMA</concept>
    <concept level="advanced">Tensor Cores</concept>
  </keyconcepts>
  <keywords>
    <keyword>matrix multiply</keyword>
    <keyword>Async copy</keyword>
    <keyword>CPP11</keyword>
    <keyword>GCC 5.0.0</keyword>
  </keywords>
  <libraries>
  </libraries>
  <librarypaths>
  </librarypaths>
  <nsight_eclipse>true</nsight_eclipse>
  <primary_file>bf16TensorCoreGemm.cu</primary_file>
  <scopes>
    <scope>1:CUDA Basic Topics</scope>
  </scopes>
  <sm-arch>sm80</sm-arch>
  <sm-arch>sm86</sm-arch>
  <supported_envs>
    <env>
      <arch>x86_64</arch>
      <platform>linux</platform>
    </env>
    <env>
      <arch>aarch64</arch>
    </env>
    <env>
      <platform>windows7</platform>
    </env>
    <env>
      <arch>ppc64le</arch>
      <platform>linux</platform>
    </env>
  </supported_envs>
  <supported_sm_architectures>
    <from>8.0</from>
  </supported_sm_architectures>
  <title>bfloat16 Tensor Core GEMM</title>
  <type>exe</type>
</entry>
