1

In the official docs there are functions like afcl::getContext. But when I #include <arrayfire.h>, I don't get access to any afcl namespace. How do I access such functions?

Stefan Monov
  • 11,332
  • 10
  • 63
  • 120

1 Answers1

1

The needed #include is:

#include <af/opencl.h>

(source)

Stefan Monov
  • 11,332
  • 10
  • 63
  • 120