Beispiel #1
0
 def test_untrans_bit_elem_scal(self):
     self.fun = lambda x: ext.untrans_bit_elem_scal(ext.trans_bit_elem(x))
     self.check = lambda x: x
Beispiel #2
0
 def test_untrans_bit_elem_AVX(self):
     self.fun = lambda x: ext.untrans_bit_elem_SSE(ext.trans_bit_elem(x))
     self.check = lambda x: x
Beispiel #3
0
 def test_untrans_bit_elem_scal(self):
     self.fun = lambda x: ext.untrans_bit_elem_scal(ext.trans_bit_elem(x))
     self.check = lambda x: x
Beispiel #4
0
 def deactivated_test_untrans_bit_elem(self):
     d = np.arange(32, dtype=np.uint16)
     #d = random.randint(0, 2**7, 256).astype(np.uint16)
     d1 = ext.trans_bit_elem(d)
     #print d
     t = ext.untrans_bit_elem_AVX(d1)
Beispiel #5
0
 def test_untrans_bit_elem_AVX(self):
     self.fun = lambda x: ext.untrans_bit_elem_SSE(ext.trans_bit_elem(x))
     self.check = lambda x: x