mirror of
				https://github.com/stevenrobertson/cuburn.git
				synced 2025-11-03 18:00:55 -05:00 
			
		
		
		
	Fix linear variation typo
This commit is contained in:
		@ -106,6 +106,7 @@ class IterThread(PTXEntryPoint):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        label('iter_loop_choose_xform')
 | 
					        label('iter_loop_choose_xform')
 | 
				
			||||||
        with block("Choose the xform for each warp"):
 | 
					        with block("Choose the xform for each warp"):
 | 
				
			||||||
 | 
					            timeout.check_time(5)
 | 
				
			||||||
            comment("On subsequent runs, only warp 0 will hit this code")
 | 
					            comment("On subsequent runs, only warp 0 will hit this code")
 | 
				
			||||||
            reg.u32('x_addr x_offset')
 | 
					            reg.u32('x_addr x_offset')
 | 
				
			||||||
            reg.f32('xf_sel')
 | 
					            reg.f32('xf_sel')
 | 
				
			||||||
 | 
				
			|||||||
@ -110,7 +110,7 @@ class Variations(PTXFragment):
 | 
				
			|||||||
    @ptx_func
 | 
					    @ptx_func
 | 
				
			||||||
    def linear(self, xo, yo, xi, yi, wgt):
 | 
					    def linear(self, xo, yo, xi, yi, wgt):
 | 
				
			||||||
        op.fma.rn.ftz.f32(xo, xi, wgt, xo)
 | 
					        op.fma.rn.ftz.f32(xo, xi, wgt, xo)
 | 
				
			||||||
        op.fma.rn.ftz.f32(yo, yi, wgt, xo)
 | 
					        op.fma.rn.ftz.f32(yo, yi, wgt, yo)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @ptx_func
 | 
					    @ptx_func
 | 
				
			||||||
    def sinusoidal(self, xo, yo, xi, yi, wgt):
 | 
					    def sinusoidal(self, xo, yo, xi, yi, wgt):
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user