From 04dcea14217395ee09915aafb4532a6dd495fa53 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 19 Jun 2020 11:17:51 +0100 Subject: Add CHstone --- benchmarks/CHStone/jpeg/global.h | 59 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100755 benchmarks/CHStone/jpeg/global.h (limited to 'benchmarks/CHStone/jpeg/global.h') diff --git a/benchmarks/CHStone/jpeg/global.h b/benchmarks/CHStone/jpeg/global.h new file mode 100755 index 0000000..267a24c --- /dev/null +++ b/benchmarks/CHStone/jpeg/global.h @@ -0,0 +1,59 @@ +/* ++--------------------------------------------------------------------------+ +| CHStone : a suite of benchmark programs for C-based High-Level Synthesis | +| ======================================================================== | +| | +| * Collected and Modified : Y. Hara, H. Tomiyama, S. Honda, | +| H. Takada and K. Ishii | +| Nagoya University, Japan | +| | +| * Remark : | +| 1. This source code is modified to unify the formats of the benchmark | +| programs in CHStone. | +| 2. Test vectors are added for CHStone. | +| 3. If "main_result" is 0 at the end of the program, the program is | +| correctly executed. | +| 4. Please follow the copyright of each benchmark program. | ++--------------------------------------------------------------------------+ +*/ +/* + * Copyright (C) 2008 + * Y. Hara, H. Tomiyama, S. Honda, H. Takada and K. Ishii + * Nagoya University, Japan + * All rights reserved. + * + * Disclaimer of Warranty + * + * These software programs are available to the user without any license fee or + * royalty on an "as is" basis. The authors disclaims any and all warranties, + * whether express, implied, or statuary, including any implied warranties or + * merchantability or of fitness for a particular purpose. In no event shall the + * copyright-holder be liable for any incidental, punitive, or consequential damages + * of any kind whatsoever arising from the use of these programs. This disclaimer + * of warranty extends to the user of these programs and user's customers, employees, + * agents, transferees, successors, and assigns. + * + */ +/* + * Definition of parameters + * + * @(#) $Id: global.h,v 1.2 2003/07/18 10:19:21 honda Exp $ + */ +#ifndef _GLOBAL_H_ +#define _GLOBAL_H_ + + +#define EXIT exit(0) + +/* + * Size of JPEG file + */ +#define JPEG_FILE_SIZE (90 * 59) + +/* + * Size of output buffer + */ +#define BMP_OUT_SIZE (90 * 59) + + +#endif /* _GLOBAL_H_ */ -- cgit