-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrapper_hip.h
More file actions
48 lines (35 loc) · 1021 Bytes
/
wrapper_hip.h
File metadata and controls
48 lines (35 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef WRAPPER_HIP_H
#define WRAPPER_HIP_H
// Include HIP core headers
#include <hip/hip_runtime.h>
#include <hip/hip_runtime_api.h>
// Include HIP driver API
#include <hip/hip_version.h>
#include <hip/driver_types.h>
// Include HIP math functions
#include <hip/math_functions.h>
// Include HIP kernel launch
#include <hip/hip_launch_param.h>
// Include HIP device functions
#include <hip/device_functions.h>
// Include HIP texture functions
#include <hip/texture_types.h>
#include <hip/texture_functions.h>
// Include HIP JIT compiler
#include <hiprtc.h>
// Include complex number support
#include <hip/hip_complex.h>
// Include vector types
#include <hip/hip_vector_types.h>
// Include occupancy API
#include <hip/hip_occupancy.h>
// Include surface functions if available
#if __has_include(<hip/surface_types.h>)
#include <hip/surface_types.h>
#include <hip/surface_functions.h>
#endif
// ROCm-specific includes
#ifdef __HIP_PLATFORM_AMD__
// Add ROCm-specific headers here
#endif
#endif // WRAPPER_HIP_H