<li><ahref="configuring_environment.htm#af_print_errors"><code>AF_PRINT_ERRORS=1</code></a> : Makes exception's messages more helpful</li>
<li><ahref="configuring_environment.htm#af_trace"><code>AF_TRACE=all</code></a>: Print ArrayFire message stream to console</li>
<li><ahref="configuring_environment.htm#af_jit_kernel_trace"><code>AF_JIT_KERNEL_TRACE=stdout</code></a>: Writes out source code generated by ArrayFire's JIT to the specified target</li>
<li><ahref="configuring_environment.htm#af_opencl_show_build_info"><code>AF_OPENCL_SHOW_BUILD_INFO=1</code></a>: Print OpenCL kernel build log to console</li>
</ul>
<h1>Tips in Language Bindings </h1>
<h2>C++</h2>
<ul>
<li><code>af_print_mem_info("message", -1);</code>: Print table of memory used by ArrayFire on the active GPU</li>
</ul>
<h2>Python</h2>
<ul>
<li><code>arrayfire.device.print_mem_info("message")</code>: Print table of memory used by ArrayFire on the active GPU</li>
</ul>
<h1>Further Reading </h1>
<p>See the <ahref="https://github.com/arrayfire/arrayfire">ArrayFire README</a> for support information. </p>
</div></div><!-- contents -->
</div><!-- PageDoc -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.3-->
<!-- start footer part -->
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>