mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-30 19:44:32 +00:00 
			
		
		
		
	Integer divide for blocking
This commit is contained in:
		| @@ -403,6 +403,10 @@ namespace Optimization { | |||||||
|     accelerator_inline GpuVectorRD operator()(GpuVectorRD a, GpuVectorRD b){ |     accelerator_inline GpuVectorRD operator()(GpuVectorRD a, GpuVectorRD b){ | ||||||
|       return a/b; |       return a/b; | ||||||
|     } |     } | ||||||
|  |     accelerator_inline GpuVectorI operator()(GpuVectorI a, GpuVectorI b){ | ||||||
|  |       return a/b; | ||||||
|  |     } | ||||||
|  |  | ||||||
|     // Danger -- element wise divide fro complex, not complex div.  |     // Danger -- element wise divide fro complex, not complex div.  | ||||||
|     // See Grid_vector_types.h lines around 735, applied after "toReal" |     // See Grid_vector_types.h lines around 735, applied after "toReal" | ||||||
|     accelerator_inline GpuVectorCF operator()(GpuVectorCF a, GpuVectorCF b){ |     accelerator_inline GpuVectorCF operator()(GpuVectorCF a, GpuVectorCF b){ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user