Fixed g++ with Vortex, _start stil not initializing propoerly

This commit is contained in:
fares
2019-11-16 14:35:45 -05:00
parent 19dba43849
commit d5763a8ae7
13 changed files with 32773 additions and 200846 deletions

View File

@@ -2,6 +2,9 @@
#include "../intrinsics/vx_intrinsics.h"
#include "vx_api.h"
#ifdef __cplusplus
extern "C" {
#endif
func_t global_function_pointer;
@@ -36,7 +39,9 @@ void vx_spawnWarps(unsigned numWarps, unsigned numThreads, func_t func_ptr, void
}
#ifdef __cplusplus
}
#endif
// void vx_cl_spawnWarps(char * args, char * pocl_context, long group_x, long group_y, long group_z)
// {
// if (group_z != 1)

View File

@@ -3,6 +3,9 @@
#define VX_API_
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*func_t)(void *);
@@ -15,7 +18,9 @@ void vx_cl_spawnWarps (char * /* args */,
long /* group_y */,
long /* group_z */);
#ifdef __cplusplus
}
#endif
#endif