#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cuda.h>
#include "utilities.h"
#include "CUDAKernels.h"
Go to the source code of this file.
| Defines | |
| #define | CUERR | 
| #define | MAXLOOPS 16 | 
| Functions | |
| void * | vmd_cuda_devpool_clear_device_mem (void *voidparms) | 
| Variables | |
| __constant__ float | constbuf [16384] | 
Definition in file CUDAClearDevice.cu.
| 
 | 
| Value: { cudaError_t err; \
  if ((err = cudaGetLastError()) != cudaSuccess) { \
  printf("CUDA error: %s, %s line %d\n", cudaGetErrorString(err), __FILE__, __LINE__); \
  return NULL; }}Definition at line 28 of file CUDAClearDevice.cu. Referenced by vmd_cuda_devpool_clear_device_mem. | 
| 
 | 
| 
 Definition at line 38 of file CUDAClearDevice.cu. Referenced by vmd_cuda_devpool_clear_device_mem. | 
| 
 | 
| 
 Definition at line 40 of file CUDAClearDevice.cu. References constbuf, CUERR, MAXLOOPS, NULL, wkf_threadpool_worker_getdevid, and wkf_threadpool_worker_getid. | 
| 
 | 
| 
 Definition at line 35 of file CUDAClearDevice.cu. Referenced by vmd_cuda_devpool_clear_device_mem. | 
 1.2.14 written by Dimitri van Heesch,
 © 1997-2002
1.2.14 written by Dimitri van Heesch,
 © 1997-2002