
<h1 id="register-type">
 <a href="#/api/dtype_t/registerType" class="anchor">
   <span>registerType</span>
  </a>
</h1>

<div class="signature">

<hr>

  <div class="definition-container">
    <div class="definition">
      <code class="desktop-only"><span class="token keyword">void</span> registerType()</code>
      <code class="mobile-only"><span class="token keyword">void</span> registerType(
    
)</code>
      <div class="flex-spacing"></div>
      <a href="https://github.com/libocca/occa/blob/7d02eac1/include/occa/dtype/dtype.hpp#L98" target="_blank">Source</a>
    </div>
    
  </div>

  <hr>
</div>


<h2 id="description">
 <a href="#/api/dtype_t/registerType?id=description" class="anchor">
   <span>Description</span>
  </a>
</h2>

Register the data type so it can be used in [kernels](/api/kernel/).

It states this new type is a base type and treated like a singleton.
