-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathunique.h
20 lines (16 loc) · 1.05 KB
/
unique.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _TRTC_unique_h
#define _TRTC_unique_h
#include "TRTC_api.h"
#include "TRTCContext.h"
#include "DeviceViewable.h"
#include "DVVector.h"
#include "functor.h"
uint32_t THRUST_RTC_API TRTC_Unique(DVVectorLike& vec);
uint32_t THRUST_RTC_API TRTC_Unique(DVVectorLike& vec, const Functor& binary_pred);
uint32_t THRUST_RTC_API TRTC_Unique_Copy(const DVVectorLike& vec_in, DVVectorLike& vec_out);
uint32_t THRUST_RTC_API TRTC_Unique_Copy(const DVVectorLike& vec_in, DVVectorLike& vec_out, const Functor& binary_pred);
uint32_t THRUST_RTC_API TRTC_Unique_By_Key(DVVectorLike& keys, DVVectorLike& values);
uint32_t THRUST_RTC_API TRTC_Unique_By_Key(DVVectorLike& keys, DVVectorLike& values, const Functor& binary_pred);
uint32_t THRUST_RTC_API TRTC_Unique_By_Key_Copy(const DVVectorLike& keys_in, const DVVectorLike& values_in, DVVectorLike& keys_out, DVVectorLike& values_out);
uint32_t THRUST_RTC_API TRTC_Unique_By_Key_Copy(const DVVectorLike& keys_in, const DVVectorLike& values_in, DVVectorLike& keys_out, DVVectorLike& values_out, const Functor& binary_pred);
#endif