Commit 6a6fd41a authored by Jaikrishnan Menon's avatar Jaikrishnan Menon Committed by Scott Cyphers

Avoid using integer literal suffixes so it doesn't confuse xcode clang (#1432)

parent f9368d45
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
#include <algorithm>
#include <cstring> #include <cstring>
#include "ngraph/op/dot.hpp" #include "ngraph/op/dot.hpp"
...@@ -183,7 +184,7 @@ namespace ngraph ...@@ -183,7 +184,7 @@ namespace ngraph
i * offset_a); i * offset_a);
} }
const float** a_array = a.data(); const float** a_array = a.data();
int64_t lda_array = std::max(1L, k); int64_t lda_array = std::max(int64_t(1), k);
vector<const float*> b; vector<const float*> b;
for (size_t i = 0; i < group_size; i++) for (size_t i = 0; i < group_size; i++)
...@@ -192,7 +193,7 @@ namespace ngraph ...@@ -192,7 +193,7 @@ namespace ngraph
i * offset_b); i * offset_b);
} }
const float** b_array = b.data(); const float** b_array = b.data();
const int64_t ldb_array = std::max(1L, n); const int64_t ldb_array = std::max(int64_t(1), n);
float beta = 0.0f; float beta = 0.0f;
vector<float*> c; vector<float*> c;
...@@ -201,7 +202,7 @@ namespace ngraph ...@@ -201,7 +202,7 @@ namespace ngraph
c.emplace_back(static_cast<float*>(out_tensor) + i * offset_c); c.emplace_back(static_cast<float*>(out_tensor) + i * offset_c);
} }
float** c_array = c.data(); float** c_array = c.data();
const int64_t ldc_array = std::max(1L, n); const int64_t ldc_array = std::max(int64_t(1), n);
cblas_sgemm_batch(cblas::Layout::RowMajor, cblas_sgemm_batch(cblas::Layout::RowMajor,
&transpose, &transpose,
......
Markdown is supported
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