stream optimization for aocc (#37039)
This commit is contained in:
		 AMD Toolchain Support
					AMD Toolchain Support
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							8fb38e3982
						
					
				
				
					commit
					d5c549f1e6
				
			| @@ -30,6 +30,8 @@ def edit(self, spec, prefix): | ||||
|         if "+openmp" in self.spec: | ||||
|             cflags += " " + self.compiler.openmp_flag | ||||
|             fflags += " " + self.compiler.openmp_flag | ||||
|         if "%aocc" in self.spec: | ||||
|             cflags += " -mcmodel=large -ffp-contract=fast -fnt-store" | ||||
| 
 | ||||
|         # Set the appropriate flags for this compiler | ||||
|         makefile.filter("CFLAGS = .*", "CFLAGS = {0}".format(cflags)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user