Fixed g++ with Vortex, _start stil not initializing propoerly
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user