mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
A byte is *8* bits
This commit is contained in:
parent
7ef0d334ca
commit
a6141f492d
@ -717,7 +717,7 @@ class _PTXStdLib(PTXFragment):
|
|||||||
# representation, 0fXXXXXXXX (where XX is hex byte)
|
# representation, 0fXXXXXXXX (where XX is hex byte)
|
||||||
val = '0f%x%x%x%x' % reversed(map(ord,
|
val = '0f%x%x%x%x' % reversed(map(ord,
|
||||||
struct.pack('f', val)))
|
struct.pack('f', val)))
|
||||||
op._call(['st', 'b%d' % (width*4)], addr(spt_base), val)
|
op._call(['st', 'b%d' % (width*8)], addr(spt_base), val)
|
||||||
|
|
||||||
@ptx_func
|
@ptx_func
|
||||||
def set_is_first_thread(self, p_dst):
|
def set_is_first_thread(self, p_dst):
|
||||||
|
Loading…
Reference in New Issue
Block a user