QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros
thrust_helper.cuh File Reference
#include <malloc_quda.h>
#include <thrust/system/cuda/vector.h>
#include <thrust/system/cuda/execution_policy.h>
#include <thrust/transform_reduce.h>
#include <thrust/device_ptr.h>
#include <thrust/device_vector.h>
#include <thrust/sort.h>
Include dependency graph for thrust_helper.cuh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  thrust_allocator
 

Macros

#define device_malloc(size)   quda::device_malloc_(__func__, quda::file_name(__FILE__), __LINE__, size)
 
#define device_free(ptr)   quda::device_free_(__func__, quda::file_name(__FILE__), __LINE__, ptr)
 

Macro Definition Documentation

◆ device_free

#define device_free (   ptr)    quda::device_free_(__func__, quda::file_name(__FILE__), __LINE__, ptr)

Definition at line 21 of file thrust_helper.cuh.

◆ device_malloc

#define device_malloc (   size)    quda::device_malloc_(__func__, quda::file_name(__FILE__), __LINE__, size)

Definition at line 20 of file thrust_helper.cuh.