feat: make thust support new version more simple
This commit is contained in:
@@ -11,10 +11,11 @@
|
||||
#include <iostream>
|
||||
|
||||
#include <cmath>
|
||||
#if THRUST_VERSION >= 200000
|
||||
|
||||
//this 2 header, only need by cuda version >= 12
|
||||
#include <thrust/sort.h>
|
||||
#include <thrust/set_operations.h>
|
||||
#endif
|
||||
|
||||
#include <thrust/device_vector.h>
|
||||
#include <thrust/transform.h>
|
||||
#include <thrust/reduce.h>
|
||||
|
||||
Reference in New Issue
Block a user