logo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions

12 lines
347 B

#include "cuda_util.h"
namespace NVJpegDecoder {
int DevMalloc(void **p, size_t s) { return (int)cudaMalloc(p, s); }
int DevFree(void *p) { return (int)cudaFree(p); }
int HostMalloc(void** p, size_t s, unsigned int f) { return (int)cudaHostAlloc(p, s, f); }
int HostFree(void* p) { return (int)cudaFreeHost(p); }
} // namespace NVJpegDecoder