Skip to content

Commit

Permalink
MIVisionX Link - Build fix (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
r-abishek authored Sep 27, 2021
1 parent 970c09f commit 1e05422
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions include/rppdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ extern "C" {
#include <CL/cl.h>
#endif

#define RPP_MIN_8U ( 0 )
#define RPP_MAX_8U ( 255 )
#define RPP_MIN_16U ( 0 )
#define RPP_MAX_16U ( 65535 )



Expand Down Expand Up @@ -382,6 +386,19 @@ typedef struct
cl_mem dstInc;
} memGPU;

typedef struct
{
memCPU mcpu;
memGPU mgpu;
} memMgmt;

typedef struct
{
RppPtr_t cpuHandle;
Rpp32u nbatchSize;
memMgmt mem;
} InitHandle;




Expand Down Expand Up @@ -458,14 +475,6 @@ typedef struct
Rpp32u* dstInc;
} memGPU;

#endif //BACKEND





/******************** Memory management and handle typedefs ********************/

typedef struct
{
memCPU mcpu;
Expand All @@ -479,10 +488,7 @@ typedef struct
memMgmt mem;
} InitHandle;

#define RPP_MIN_8U ( 0 )
#define RPP_MAX_8U ( 255 )
#define RPP_MIN_16U ( 0 )
#define RPP_MAX_16U ( 65535 )
#endif //BACKEND

#ifdef __cplusplus
}
Expand Down

0 comments on commit 1e05422

Please sign in to comment.