chenxuhao / gardenia Goto Github PK
View Code? Open in Web Editor NEWGARDENIA: Graph Analytics Repository for Designing Efficient Next-generation Accelerators
License: MIT License
GARDENIA: Graph Analytics Repository for Designing Efficient Next-generation Accelerators
License: MIT License
running make in root dir asks for gem5/m5ops.h.
running make in bfs gives "ambiguous definition error"->
../../include/cutil_subset.h(108): error: this declaration has no storage class or type specifier
../../include/cutil_subset.h(108): error: variable "printf" has already been defined
../../include/cutil_subset.h(108): error: a value of type "const char *" cannot be used to initialize an entity of type "int"
../../include/cutil_subset.h(108): error: expected a ")"
../../include/cutil_subset.h(109): error: this declaration has no storage class or type specifier
../../include/cutil_subset.h(109): error: variable "printf" has already been defined
../../include/cutil_subset.h(109): error: a value of type "const char *" cannot be used to initialize an entity of type "int"
../../include/cutil_subset.h(109): error: expected a ")"
../../include/cutil_subset.h(110): error: this declaration has no storage class or type specifier
../../include/cutil_subset.h(110): error: variable "printf" has already been defined
../../include/cutil_subset.h(110): error: a value of type "const char *" cannot be used to initialize an entity of type "int"
../../include/cutil_subset.h(110): error: expected a ")"
../../include/cutil_subset.h(111): error: this declaration has no storage class or type specifier
../../include/cutil_subset.h(111): error: variable "printf" has already been defined
../../include/cutil_subset.h(111): error: a value of type "const char *" cannot be used to initialize an entity of type "int"
../../include/cutil_subset.h(111): error: expected a ")"
../../include/cutil_subset.h(112): error: this declaration has no storage class or type specifier
../../include/cutil_subset.h(112): error: variable "printf" has already been defined
../../include/cutil_subset.h(112): error: a value of type "const char *" cannot be used to initialize an entity of type "int"
../../include/cutil_subset.h(112): error: expected a ")"
../../include/cutil_subset.h(113): error: this declaration has no storage class or type specifier
../../include/cutil_subset.h(113): error: variable "printf" has already been defined
../../include/cutil_subset.h(113): error: a value of type "const char *" cannot be used to initialize an entity of type "int"
../../include/cutil_subset.h(113): error: expected a ")"
../../include/cutil_subset.h(114): error: this declaration has no storage class or type specifier
../../include/cutil_subset.h(114): error: variable "printf" has already been defined
../../include/cutil_subset.h(114): error: a value of type "const char *" cannot be used to initialize an entity of type "int"
../../include/cutil_subset.h(114): error: expected a ")"
../../include/cutil_subset.h(115): error: this declaration has no storage class or type specifier
../../include/cutil_subset.h(115): error: variable "printf" has already been defined
../../include/cutil_subset.h(115): error: a value of type "const char *" cannot be used to initialize an entity of type "int"
../../include/cutil_subset.h(115): error: expected a ")"
../../include/cutil_subset.h(117): error: this declaration has no storage class or type specifier
../../include/cutil_subset.h(117): error: variable "printf" has already been defined
../../include/cutil_subset.h(117): error: a value of type "const char *" cannot be used to initialize an entity of type "int"
../../include/cutil_subset.h(117): error: expected a ")"
../../include/cutil_subset.h(118): error: expected a declaration
../../include/cutil_subset.h(119): error: expected a declaration
../../include/worklistc.h(15): error: identifier "zero" is undefined
First, it is okay for some CUDA applications without downgrading the GPGPU-Sim or CUDA versions for compatibility issues.
For example, the following commands are used to obtain a properly working executable for the BFS application.
Also, the below command shows how I executed your benchmark BFS code on the simulator.
./bfs_linear_base mtx ../CudaBenchmarks/gardenia/datasets/soc-LiveJournal1/soc-LiveJournal1 0 0 0
You may fix the correct path of the soc-LiveJournal1.mtx file. There is an additional soc-LiveJournal1 folder holding the soc-LiveJournal1.mtx file.
Thank you for the benchmark. I hope you have an excellent year.
Could you please update the implementations when you can reproduce the following error ? Thanks.
make bc_ocl_base
g++ -Wall -fopenmp -O3 -std=c++11 -I../../include -I ../../cub main.o ocl_base.o verifier.o -o bc_ocl_base -lOpenCL
main.o: In function `main':
main.cc:(.text.startup+0x11a): undefined reference to `BCSolver(Graph&, int, float*)'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.