Prevent trying to build smallwrite engine for large cases

This commit is contained in:
Alex Coyte
2016-05-30 14:00:31 +10:00
committed by Matthew Barr
parent b097cb1b53
commit cb7067f59d
7 changed files with 34 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Intel Corporation
* Copyright (c) 2015-2016, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -219,7 +219,7 @@ hs_compile_multi_int(const char *const *expressions, const unsigned *flags,
: get_current_target();
CompileContext cc(isStreaming, isVectored, target_info, g);
NG ng(cc, somPrecision);
NG ng(cc, elements, somPrecision);
try {
for (unsigned int i = 0; i < elements; i++) {