Commit c0ef628b authored by lvs's avatar lvs
Browse files

fixed #11, added support for 256wi

parent 13cf53f5
......@@ -81,6 +81,9 @@ else ifeq ($(NUMWI), 64)
else ifeq ($(NUMWI), 128)
NWI=-DN128WI
TARGET:=$(TARGET)_128wi
else ifeq ($(NUMWI), 256)
NWI=-DN256WI
TARGET:=$(TARGET)_256wi
else
ifeq ($(DEVICE), CPU)
NWI=-DN16WI
......
......@@ -33,6 +33,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define NUM_OF_THREADS_PER_BLOCK 64
#elif defined (N128WI)
#define NUM_OF_THREADS_PER_BLOCK 128
#elif defined (N256WI)
#define NUM_OF_THREADS_PER_BLOCK 256
#else
#define NUM_OF_THREADS_PER_BLOCK 64
#endif
......
......@@ -53,6 +53,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define KNWI " -DN64WI "
#elif defined (N128WI)
#define KNWI " -DN128WI "
#elif defined (N256WI)
#define KNWI " -DN256WI "
#else
#define KNWI " -DN64WI "
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment