repo.or.cz
/
ArchLinux
/
community.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
archrelease: copy trunk to community-any
[ArchLinux/community.git]
/
miopen-hip
/
repos
/
community-x86_64
/
test.cpp
blob
d9e42e7c285b6793acb03922d94e39cec4c0e493
1
#include <miopen/miopen.h>
2
#include <stdio.h>
3
#include <stdlib.h>
4
5
int
main
()
6
{
7
miopenHandle_t handle
;
8
miopenStatus_t s
=
miopenCreate
(&
handle
);
9
10
if
(
s
!=
miopenStatusSuccess
){
11
printf
(
"Cannot create handle for MIOpen!
\n
"
);
12
return
EXIT_FAILURE
;
13
}
14
miopenDestroy
(
handle
);
15
printf
(
"TESTS PASSED!
\n
"
);
16
}