AF_PRINT_ERRORS=1: Makes exception's messages more helpfulAF_TRACE=all: Print ArrayFire message stream to consoleAF_JIT_KERNEL_TRACE=stdout: Writes out source code generated by ArrayFire's JIT to the specified targetAF_OPENCL_SHOW_BUILD_INFO=1: Print OpenCL kernel build log to console
af_print_mem_info("message", -1);: Print table of memory used by ArrayFire on the active GPU
arrayfire.device.print_mem_info("message"): Print table of memory used by ArrayFire on the active GPU
See the ArrayFire README for support information.