mirror of
				https://github.com/NVIDIA/cuda-samples.git
				synced 2025-11-04 07:27:49 +08:00 
			
		
		
		
	Update kernels.cuh
This commit is contained in:
		
							parent
							
								
									940a4c7a91
								
							
						
					
					
						commit
						37c5bcbef4
					
				@ -34,13 +34,12 @@
 | 
			
		||||
#define _KERNELS_H_
 | 
			
		||||
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <thrust/functional.h>
 | 
			
		||||
 | 
			
		||||
#include "common.cuh"
 | 
			
		||||
 | 
			
		||||
// Functors used with thrust library.
 | 
			
		||||
template <typename Input>
 | 
			
		||||
struct IsGreaterEqualThan : public thrust::unary_function<Input, bool>
 | 
			
		||||
struct IsGreaterEqualThan
 | 
			
		||||
{
 | 
			
		||||
    __host__ __device__ IsGreaterEqualThan(uint upperBound) :
 | 
			
		||||
        upperBound_(upperBound) {}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user