Skip to content

Commit

Permalink
Make AVX Statements invoke Statement __init__.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gheorghe-Teodor Bercea committed Mar 24, 2015
1 parent 5209427 commit d91d4c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions coffee/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ class AVXLocalPermute(Statement):
The intrinsic function used is ``_mm256_permute_pd``."""

def __init__(self, r, mask):
super(AVXLocalPermute, self).__init__()
self.r = r
self.mask = mask

Expand All @@ -740,6 +741,7 @@ class AVXGlobalPermute(Statement):
The intrinsic function used is ``_mm256_permute2f128_pd``."""

def __init__(self, r1, r2, mask):
super(AVXGlobalPermute, self).__init__()
self.r1 = r1
self.r2 = r2
self.mask = mask
Expand All @@ -757,6 +759,7 @@ class AVXUnpackHi(Statement):
The intrinsic function used is ``_mm256_unpackhi_pd``."""

def __init__(self, r1, r2):
super(AVXUnpackHi, self).__init__()
self.r1 = r1
self.r2 = r2

Expand All @@ -772,6 +775,7 @@ class AVXUnpackLo(Statement):
The intrinsic function used is ``_mm256_unpacklo_pd``."""

def __init__(self, r1, r2):
super(AVXUnpackLo, self).__init__()
self.r1 = r1
self.r2 = r2

Expand Down

0 comments on commit d91d4c3

Please sign in to comment.