archrelease: copy trunk to community-any
[ArchLinux/community.git] / miopen-hip / repos / community-x86_64 / test.cpp
blobd9e42e7c285b6793acb03922d94e39cec4c0e493
1 #include <miopen/miopen.h>
2 #include <stdio.h>
3 #include <stdlib.h>
5 int main()
7 miopenHandle_t handle;
8 miopenStatus_t s = miopenCreate(&handle);
10 if(s != miopenStatusSuccess){
11 printf("Cannot create handle for MIOpen!\n");
12 return EXIT_FAILURE;
14 miopenDestroy(handle);
15 printf("TESTS PASSED!\n");