%! (template.HTML=
Evgeny)złożyło 2017-12-20 19:00:47 -06:00
1 rodzic
24695e37be
złożenie
489095e9e6
2 plików zmienionych
+4
-2
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -85,9 +85,10 @@ HsaRsrcFactory::HsaRsrcFactory() {
|
||||
|
||||
// Get AqlProfile API table
|
||||
aqlprofile_api_ = {0};
|
||||
#ifdef ROCP_LD_AQLPROFILE
|
||||
status = LoadAqlProfileLib(&aqlprofile_api_);
|
||||
#else
|
||||
status = hsa_system_get_extension_table(HSA_EXTENSION_AMD_AQLPROFILE, 1, 0, &aqlprofile_api_);
|
||||
#ifdef ROCP_LOAD_AQLPROF
|
||||
if (status != HSA_STATUS_SUCCESS) status = LoadAqlProfileLib(&aqlprofile_api_);
|
||||
#endif
|
||||
CHECK_STATUS("aqlprofile API table load failed", status);
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <assert.h>
|
||||
#include <hsa.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika