mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-31 12:04:33 +00:00 
			
		
		
		
	Update Accelerator.h
This commit is contained in:
		| @@ -674,7 +674,7 @@ inline void acceleratorCopyDeviceToDevice(void *from,void *to,size_t bytes) | |||||||
|   acceleratorCopySynchronise(); |   acceleratorCopySynchronise(); | ||||||
| } | } | ||||||
|  |  | ||||||
| template<class T> void acceleratorPut(T& dev,T&host) | template<class T> void acceleratorPut(T& dev,const T&host) | ||||||
| { | { | ||||||
|   acceleratorCopyToDevice(&host,&dev,sizeof(T)); |   acceleratorCopyToDevice(&host,&dev,sizeof(T)); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user