absdevs.h 872 Bytes

/*----------------------------------------------------------------------------*/

#ifndef _ABSDEVS_HH
#define _ABSDEVS_HH

/*----------------------------------------------------------------------------*/

typedef struct _hcl_abstractdevicestable_ {
  int(*init)(const int, const int, const int, const int, 
             const unsigned int, const unsigned int);
  int(*gemm)(const int, const int*, const int*, const int*,
               double*, double*, double*, double*);
  int(*destroy)(const int);
  const unsigned int nompt;
} hcl_abstractdevicestable;

extern hcl_abstractdevicestable hcl_absdevtable[];
extern const unsigned int hcl_coreindex[];
extern const unsigned int hcl_corebindings[];

/*----------------------------------------------------------------------------*/

#endif

/*----------------------------------------------------------------------------*/