Adding Make for bulding code samples
Change-Id: I7b62a4c65c5560239e69ea121c6fdaef188f709d
[ROCm/rocprofiler commit: 763799349b]
이 커밋은 다음에 포함됨:
1 부모
4f742d346b
커밋
4aa2491e48
10 파일이 변경됨
+689
-6
검색과 일치하는 파일 없음
@@ -9,12 +9,15 @@ int main(int argc, char** argv) {
|
||||
int poll_duration = 5;
|
||||
if (argc > 1) poll_duration = atoi(argv[1]);
|
||||
|
||||
hipDeviceProp_t devProp;
|
||||
HIP_CALL(hipGetDeviceProperties(&devProp, 0));
|
||||
|
||||
CHECK_ROCPROFILER(rocprofiler_initialize());
|
||||
printf("initialize\n");
|
||||
|
||||
rocprofiler_session_id_t dp_session_id;
|
||||
std::vector<const char*> counters;
|
||||
counters.emplace_back("FETCH_SIZE");
|
||||
counters.emplace_back("GRBM_COUNT");
|
||||
|
||||
printf("session create\n");
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단