Adding Make for bulding code samples
Change-Id: I7b62a4c65c5560239e69ea121c6fdaef188f709d
Este commit está contenido en:
cometido por
Ammar ELWazir
padre
03c305dbd4
commit
763799349b
@@ -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");
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user