libxmp/libxmpf in Omni Compiler  1.3.4
xmp_gpu_internal.h
Go to the documentation of this file.
1 #ifndef _XMP_GPU_INTERNAL
2 
3 #include <stddef.h>
4 #include "xmp_internal.h"
5 
6 // xmp_gpu_runtime.cu
7 extern int _XMP_gpu_device_count;
8 extern int _XMP_gpu_max_thread;
9 extern int _XMP_gpu_max_block_dim_x;
10 extern int _XMP_gpu_max_block_dim_y;
11 extern int _XMP_gpu_max_block_dim_z;
12 
13 // xmp_gpu_util.cu
14 extern void _XMP_gpu_alloc(void **addr, size_t size);
15 extern void _XMP_gpu_free(void *addr);
16 
17 #endif // _XMP_GPU_INTERNAL
int _XMP_gpu_max_thread
int _XMP_gpu_max_block_dim_y
void _XMP_gpu_free(void *addr)
int _XMP_gpu_device_count
int _XMP_gpu_max_block_dim_z
int _XMP_gpu_max_block_dim_x
void _XMP_gpu_alloc(void **addr, size_t size)