4 #include "GLImageAllocator.h" 18 int num_images,
int width,
int height,
int channels,
bool is_output =
false) {
19 const int tile_x = 1, tile_y = 1;
20 return glImageAllocator->newImage(
21 num_images, width, height, channels, tile_x, tile_y, is_output);
30 bool is_output =
false) {
31 return glImageAllocator->newImage(
32 num_images, width, height, channels, tile_x, tile_y, is_output);
42 std::function<
const GLTexture*(
const int width,
const int height)> textureAllocator) {
43 return glImageAllocator->newImage(
44 num_images, width, height, channels, tile_x, tile_y, textureAllocator);
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...