Skip to content

Altera SDK and binaries#1

Open
kevinkit wants to merge 2 commits into
matze:masterfrom
kevinkit:master
Open

Altera SDK and binaries#1
kevinkit wants to merge 2 commits into
matze:masterfrom
kevinkit:master

Conversation

@kevinkit
Copy link
Copy Markdown

Added functions for ALTERA SDK for OpenCL.
Cast before malloc.

kevinkit added 2 commits July 29, 2014 09:24
Added functiond

cl_program ocl_create_program_from_binary
Creates a program from a binary file.

cl_program ocl_create_program_from_binary_for_fpga
Uses the ALTERA SDK for OpenCL to create program for a device on which the binary was loaded.


using namespace aocl_utils was added and AOCL_Utils.h is now included for the usage of the ALTERA SDK for OpenCL
Added two functions

- ocl_create_program_from_binary  which creates a program from the binary file 

and...

cl_program
ocl_create_program_from_binary_for_fpga

which uses the ALTERA SDK for OpenCL to create a program which was loaded before onto the device.


Furthermore, before every malloc is now a cast according to the type of memory allocation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant