Johannes Doerfert 5d8d994dfb [OpenMP] Make sure classes work on the device as they do on the host
We do provide `operator delete(void*)` in `<new>` but it should be
available by default. This is mostly boilerplate to test it and the
unconditional include of `<new>` in the header we always in include
on the device.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D100620
2021-05-06 02:10:30 -05:00

10 lines
164 B
C

#pragma once
typedef __SIZE_TYPE__ size_t;
void *malloc(size_t);
void free(void*);
#ifndef __cplusplus
extern int abs(int __x) __attribute__((__const__));
#endif