antonmks / Alenka

GPU database engine
Other
1.17k stars 120 forks source link

Changes to use alanka as a library #52

Closed Randolph42 closed 10 years ago

Randolph42 commented 10 years ago

Added Display call to bison.y cm.cu and cm.h Display call row.c as a modular callback. Added execute_file(), alenkaInit(), alenkaExecute() and AlenkaClose() to bison.y

Main.cu is an example main routine and provides the existing functionality of Alenka via the 'execute_file' library call. It requires alenka.h

Note: execute_file() represents the previous main() call in bison.y Alternately, a main routine could use alenkaInit(), alenkaExecute() and AlenkaClose() to execute alenka instructions.

Randolph42 commented 10 years ago

PS: also added variable freeing patch to alenkaExecute()

Randolph42 commented 10 years ago

Thanks.

On 20/02/14 4:51 PM, "Anton" notifications@github.com wrote:

Merged #52 https://github.com/antonmks/Alenka/pull/52 .

‹ Reply to this email directly or view it on GitHub https://github.com/antonmks/Alenka/pull/52 .

antonmks commented 10 years ago

Looks good, I just made a small change to bison.y and added new files to Makefile.win.

Thank you !

On Thu, Feb 20, 2014 at 9:41 AM, Randolph42 notifications@github.comwrote:

Thanks.

On 20/02/14 4:51 PM, "Anton" notifications@github.com wrote:

Merged #52 https://github.com/antonmks/Alenka/pull/52 .

‹ Reply to this email directly or view it on GitHub https://github.com/antonmks/Alenka/pull/52 .

— Reply to this email directly or view it on GitHubhttps://github.com/antonmks/Alenka/pull/52#issuecomment-35593370 .