Hello,
Is it hard? Maybe, depends on your skills and determination.
There is a reference design provided by Altera. This includes a porting guide for a custom board:
https://www.altera.com/documentation/ewa1437420465656.html#ewa1437421765981 There is also the custom platform toolkit guide, if you want to make more specific changes to the BSP:
https://www.altera.com/documentation/ewa1402666946838.html#mwh1391804342074 Finally, have a look through all the OpenCL documentation here:
https://www.altera.com/products/design-software/embedded-software-developers/opencl/documentation.html Cheers!