Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
a50cb302
"tools/vscode:/vscode.git/clone" did not exist on "42230e04e91ab6f940078a3270bfbc79afc7f6ad"
Unverified
Commit
a50cb302
authored
Oct 11, 2023
by
Artur Wojcik
Committed by
GitHub
Oct 11, 2023
Browse files
a few c++ fixes to allow compilation on Windows (#2282)
parent
c58e7d89
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
test/verify/run_verify.cpp
test/verify/run_verify.cpp
+1
-2
tools/api/api.cpp
tools/api/api.cpp
+1
-0
tools/api/migraphx.h
tools/api/migraphx.h
+1
-0
No files found.
test/verify/run_verify.cpp
View file @
a50cb302
...
@@ -44,8 +44,7 @@ MIGRAPHX_DECLARE_ENV_VAR(MIGRAPHX_DUMP_TEST)
...
@@ -44,8 +44,7 @@ MIGRAPHX_DECLARE_ENV_VAR(MIGRAPHX_DUMP_TEST)
// An improved async, that doesn't block
// An improved async, that doesn't block
template
<
class
Function
>
template
<
class
Function
>
std
::
future
<
typename
std
::
result_of
<
Function
()
>::
type
>
detach_async
(
Function
&&
f
,
std
::
future
<
std
::
invoke_result_t
<
Function
>>
detach_async
(
Function
&&
f
,
bool
parallel
=
true
)
bool
parallel
=
true
)
{
{
if
(
parallel
)
if
(
parallel
)
{
{
...
...
tools/api/api.cpp
View file @
a50cb302
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
#include <migraphx/register_op.hpp>
#include <migraphx/register_op.hpp>
#include <migraphx/json.hpp>
#include <migraphx/json.hpp>
#include <migraphx/convert_to_json.hpp>
#include <migraphx/convert_to_json.hpp>
#include <array>
#include <algorithm>
#include <algorithm>
#include <cstdarg>
#include <cstdarg>
...
...
tools/api/migraphx.h
View file @
a50cb302
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdbool.h>
#include <stdint.h>
#include <migraphx/api/export.h>
#include <migraphx/api/export.h>
...
...
Prev
1
2
Next
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