[SDK] Support HIP 7.0 API changes (#432)

* [Do not merge] Make changes to api_args

* Support HIP 7.0 API changes

- Provide ROCPROFILER_SDK_ variants of ROCPROFILER_ version defines
- Provide ROCPROFILER_SDK_COMPUTE_VERSION
- hipCtxGetApiVersion changes parameter from int* to unsigned int*
- hipMemcpyHtoD and hipMemcpyHtoDAsync changed void* to const void*

* Fix comment

---------

Co-authored-by: Jatin Chaudhary <jatchaud@amd.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: caf1a2174e]
Dieser Commit ist enthalten in:
Madsen, Jonathan
2025-06-03 21:50:50 -05:00
committet von GitHub
Ursprung bb80373649
Commit adc4e6995d
17 geänderte Dateien mit 172 neuen und 27 gelöschten Zeilen
@@ -22,13 +22,16 @@
#include "hip/hip_runtime.h"
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <memory>
#include <mutex>
#include <random>
#include <stdexcept>
#include <vector>
#include "transpose_kernels.hpp"
#define PRINT_ALIGN 36