mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 22:07:41 -04:00
23 lines
No EOL
423 B
C
23 lines
No EOL
423 B
C
#ifndef _COMMON_H_
|
|
#define _COMMON_H_
|
|
|
|
#include <stdint.h>
|
|
#include <VX_config.h>
|
|
#include <VX_types.h>
|
|
#include <graphics.h>
|
|
|
|
#define KERNEL_ARG_DEV_MEM_ADDR 0x7ffff000
|
|
|
|
typedef struct {
|
|
bool use_sw;
|
|
uint32_t num_tasks;
|
|
uint32_t dst_width;
|
|
uint32_t dst_height;
|
|
uint8_t dst_stride;
|
|
uint32_t dst_pitch;
|
|
uint64_t dst_addr;
|
|
uint8_t filter;
|
|
graphics::TexDCRS dcrs;
|
|
} kernel_arg_t;
|
|
|
|
#endif |