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