Feat C++ API
A feature engineering automation tool
state_utils.h
Go to the documentation of this file.
1 /* FEAT
2 copyright 2017 William La Cava
3 license: GNU/GPL v3
4 */
5 #ifndef STATE_UTILS_H
6 #define STATE_UTILS_H
7 
8 
9 //stack utils
10 #include<stddef.h>
11 namespace FT{
12  namespace Pop{
13  namespace Op{
14  void dev_allocate(float *& f, size_t Sizef,
15  int *& c, size_t Sizec,
16  bool *& b, size_t Sizeb);
17 
18  void copy_from_device(float * dev_f, float * host_f, size_t Sizef);
19 
20  void copy_from_device(int * dev_c, int * host_c, size_t Sizec);
21 
22  void copy_from_device(bool * dev_b, bool * host_b, size_t Sizeb);
23 
24  void copy_from_device(float * dev_f, float * host_f, size_t Sizef,
25  int * dev_c, int * host_c, size_t Sizec,
26  bool * dev_b, bool * host_b, size_t Sizeb);
27 
28  void free_device(float * dev_f, int * dev_c, bool * dev_b);
29  }
30  }
31 }
32 #endif
void free_device(float *dev_f, int *dev_c, bool *dev_b)
void copy_from_device(float *dev_f, float *host_f, size_t Sizef)
void dev_allocate(float *&f, size_t Sizef, int *&c, size_t Sizec, bool *&b, size_t Sizeb)
main Feat namespace
Definition: data.cc:13