dpnp.get_include

dpnp.get_include()[source]

Return the directory that contains the *.hpp header files of the dpnp C++ library (libtensor).

An extension module that needs to be compiled against libtensor should use this function to locate the appropriate include directory. It is the same directory as returned by python -m dpnp --tensor-include-dir.