Ported Python bindings to use the new argument definitions.

Corrected MakeFile to build with cuda on OSX
BTW there is a problem in the current head with openCL on OSX: Halide compiler gives "CL: clEnqueueNDRangeKernel failed (-5)" for the "bilateral_grid" app both in C++ and in Python.

fcr
That is where nvidia installs the links to the libraries nowadays.
Otherwise it does not find the libs during linking.

Using the framework command doesn't work, at least for me.

- Fred

Andrew Adams wrote:
> In Makefile:
>
>>  @@ -136,7 +136,7 @@ endif
>>   ifeq ($(UNAME), Darwin)
>>   # Someone with an osx box with cuda installed please fix the line below
>>   ifneq ($(TEST_PTX), )
>>  -STATIC_TEST_LIBS ?= -F/Library/Frameworks -framework CUDA
>>  +STATIC_TEST_LIBS ?= -L/usr/local/cuda/lib -lcuda
>
> Why the change here?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/halide/Halide/pull/354/files#r14215156>.
>

-- 
===================================================================
Dr. Frederick C. Rotbart
Technologist
Tel: +61 3 9024 3914        +972 74 704 0831
Mobile: +61 422 569 102    +972 544 870 774
LinkedIn <http://www.linkedin.com/in/fcrotbart>