packaging
Bu işleme şunda yer alıyor:
@@ -45,7 +45,7 @@ class Timer {
|
||||
public:
|
||||
typedef uint64_t timestamp_t;
|
||||
typedef long double freq_t;
|
||||
|
||||
|
||||
Timer() {
|
||||
timestamp_t timestamp_hz = 0;
|
||||
HSART_CALL(hsa_system_get_info(HSA_SYSTEM_INFO_TIMESTAMP_FREQUENCY, ×tamp_hz));
|
||||
@@ -39,7 +39,7 @@ THE SOFTWARE.
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "inc/roctracer/prof_protocol.h"
|
||||
#include "ext/prof_protocol.h"
|
||||
|
||||
#define ROCTRACER_VERSION_MAJOR 1
|
||||
#define ROCTRACER_VERSION_MINOR 0
|
||||
|
||||
@@ -23,8 +23,13 @@ THE SOFTWARE.
|
||||
#ifndef INC_ROCTRACER_HCC_H_
|
||||
#define INC_ROCTRACER_HCC_H_
|
||||
|
||||
#if (LOCAL_BUILD == 1)
|
||||
#include <hc_hsa_op_id.h>
|
||||
#include <hc_prof_runtime.h>
|
||||
#else
|
||||
#include <hcc/hc_hsa_op_id.h>
|
||||
#include <hcc/hc_prof_runtime.h>
|
||||
#endif
|
||||
|
||||
#include "roctracer.h"
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ THE SOFTWARE.
|
||||
#ifndef INC_ROCTRACER_HIP_H_
|
||||
#define INC_ROCTRACER_HIP_H_
|
||||
|
||||
#include <hip/hip_runtime.h>
|
||||
#include <hip/hcc_detail/hip_prof_str.h>
|
||||
|
||||
#include "roctracer.h"
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle