GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main Page
  • Tutorials
  • Functions
  • Release Notes
  • Examples
  • AF_PRINT_ERRORS=1

This view

  • Original page
  • New address

GeezerVison is showing arrayfire.org — ArrayFire: Debugging ArrayFire Issues

Logo
A high-performance general-purpose compute library
  • Main Page
  • Tutorials
  • Functions
  • Release Notes
  • Examples
Debugging ArrayFire Issues

Using Environment Variables

  • AF_PRINT_ERRORS=1 : Makes exception's messages more helpful
  • AF_TRACE=all: Print ArrayFire message stream to console
  • AF_JIT_KERNEL_TRACE=stdout: Writes out source code generated by ArrayFire's JIT to the specified target
  • AF_OPENCL_SHOW_BUILD_INFO=1: Print OpenCL kernel build log to console

Tips in Language Bindings

C++

  • af_print_mem_info("message", -1);: Print table of memory used by ArrayFire on the active GPU

Python

  • arrayfire.device.print_mem_info("message"): Print table of memory used by ArrayFire on the active GPU

Further Reading

See the ArrayFire README for support information.

  • Generated by doxygen 1.9.5
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.