-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathremove.h
18 lines (14 loc) · 849 Bytes
/
remove.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _TRTC_remove_h
#define _TRTC_remove_h
#include "TRTC_api.h"
#include "TRTCContext.h"
#include "DeviceViewable.h"
#include "DVVector.h"
#include "functor.h"
uint32_t THRUST_RTC_API TRTC_Remove(DVVectorLike& vec, const DeviceViewable& value);
uint32_t THRUST_RTC_API TRTC_Remove_Copy(const DVVectorLike& vec_in, DVVectorLike& vec_out, const DeviceViewable& value);
uint32_t THRUST_RTC_API TRTC_Remove_If(DVVectorLike& vec, const Functor& pred);
uint32_t THRUST_RTC_API TRTC_Remove_Copy_If(const DVVectorLike& vec_in, DVVectorLike& vec_out, const Functor& pred);
uint32_t THRUST_RTC_API TRTC_Remove_If_Stencil(DVVectorLike& vec, const DVVectorLike& stencil, const Functor& pred);
uint32_t THRUST_RTC_API TRTC_Remove_Copy_If_Stencil(const DVVectorLike& vec_in, const DVVectorLike& stencil, DVVectorLike& vec_out, const Functor& pred);
#endif