Tensor Tiling Library
 
Loading...
Searching...
No Matches
TTL.h File Reference
#include "TTL_macros.h"
#include "TTL_pipeline_schemes.h"
Include dependency graph for TTL_cpp/TTL.h:

Go to the source code of this file.

Macros

#define restrict
 
#define TTL_TARGET   opencl
 Define the target for TTL.
 
#define TTL_TYPES_INCLUDE_H   __TTL_STRINGFY2(TTL_TARGET/TTL_types.h)
 TTL_types will include this file prior to its definitions.
 
#define TTL_IMPORT_EXPORT_INCLUDE_H   __TTL_STRINGFY2(TTL_TARGET/TTL_import_export.h)
 Allow override of the standard OpenCL import export rules.
 

Macro Definition Documentation

◆ restrict

#define restrict

Definition at line 21 of file TTL_cpp/TTL.h.

◆ TTL_IMPORT_EXPORT_INCLUDE_H

#define TTL_IMPORT_EXPORT_INCLUDE_H   __TTL_STRINGFY2(TTL_TARGET/TTL_import_export.h)

Allow override of the standard OpenCL import export rules.

  • Values in the base distribution include
    • TTL/opencl/TTL_import_export.h
    • TTL/c/TTL_import_export.h
  • Values in the base distribution include
    • opencl/TTL_import_export.h
    • c/TTL_import_export.h

Definition at line 75 of file TTL_cpp/TTL.h.

◆ TTL_TARGET

#define TTL_TARGET   opencl

Define the target for TTL.

TTL can be built for multible targets - native support is

  • opencl - default if TTL_TARGET not predefined.
  • c

Other platforms can be provided.

Definition at line 49 of file TTL_cpp/TTL.h.

◆ TTL_TYPES_INCLUDE_H

#define TTL_TYPES_INCLUDE_H   __TTL_STRINGFY2(TTL_TARGET/TTL_types.h)

TTL_types will include this file prior to its definitions.

Values in the base distribution include

  • TTL/opencl/TTL_types.h
  • TTL/c/TTL_types.h

Values in the base distribution include

  • opencl/TTL_types.h
  • c/TTL_types.h

Definition at line 62 of file TTL_cpp/TTL.h.