| 78 | __device__ void *__hip_malloc(__hip_size_t __size); |
| 79 | __device__ void *__hip_free(void *__ptr); |
| 80 | __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) { |
| 81 | return __hip_malloc(__size); |
| 82 | } |
| 83 | __attribute__((weak)) inline __device__ void *free(void *__ptr) { |
| 84 | return __hip_free(__ptr); |
| 85 | } |
no outgoing calls