Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
6a6fd41a
Commit
6a6fd41a
authored
Aug 17, 2018
by
Jaikrishnan Menon
Committed by
Scott Cyphers
Aug 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid using integer literal suffixes so it doesn't confuse xcode clang (#1432)
parent
f9368d45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
dot.cpp
src/ngraph/runtime/cpu/builder/dot.cpp
+4
-3
No files found.
src/ngraph/runtime/cpu/builder/dot.cpp
View file @
6a6fd41a
...
...
@@ -14,6 +14,7 @@
* limitations under the License.
*******************************************************************************/
#include <algorithm>
#include <cstring>
#include "ngraph/op/dot.hpp"
...
...
@@ -183,7 +184,7 @@ namespace ngraph
i
*
offset_a
);
}
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
;
for
(
size_t
i
=
0
;
i
<
group_size
;
i
++
)
...
...
@@ -192,7 +193,7 @@ namespace ngraph
i
*
offset_b
);
}
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.0
f
;
vector
<
float
*>
c
;
...
...
@@ -201,7 +202,7 @@ namespace ngraph
c
.
emplace_back
(
static_cast
<
float
*>
(
out_tensor
)
+
i
*
offset_c
);
}
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
,
&
transpose
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment