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
3f2ba6f9
Commit
3f2ba6f9
authored
Mar 22, 2019
by
pruthvi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix clang error
parent
9e54e66f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
allocator.cpp
src/ngraph/runtime/allocator.cpp
+0
-1
cpu_allocator.hpp
src/ngraph/runtime/cpu/cpu_allocator.hpp
+0
-2
No files found.
src/ngraph/runtime/allocator.cpp
View file @
3f2ba6f9
...
...
@@ -24,7 +24,6 @@ void* ngraph::runtime::Allocator::Malloc(void* handle, size_t size, size_t align
if
(
size
!=
0
&&
!
ptr
)
{
throw
ngraph_error
(
"malloc failed to allocate memory of size "
+
std
::
to_string
(
size
));
throw
std
::
bad_alloc
();
}
return
ptr
;
}
...
...
src/ngraph/runtime/cpu/cpu_allocator.hpp
View file @
3f2ba6f9
...
...
@@ -24,7 +24,6 @@
#include "ngraph/runtime/backend.hpp"
#include "ngraph/util.hpp"
using
namespace
ngraph
;
namespace
mkl
{
extern
"C"
{
...
...
@@ -74,7 +73,6 @@ public:
if
(
size
!=
0
&&
!
ptr
)
{
throw
ngraph_error
(
"malloc failed to allocate memory of size "
+
std
::
to_string
(
size
));
throw
std
::
bad_alloc
();
}
return
ptr
;
}
...
...
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