Python bindings for ArrayFire: A general purpose GPU library.
Array.offset
- Array.strides
- Array.is_owner
- Array.is_linear
- Array.raw_ptr
offset
and strides
as optional parameters.scatter
and scatter3
get_device_type
get_platform
add_device_context
delete_device_context
set_device_context
alloc_host
and free_host
alloc_pinned
and free_pinned
alloc_device
and free_device
get_device_id
get_backend_id
is_lapack_available
is_image_io_available
af.pycuda_to_af_array
af.pyopencl_to_af_array
af.to_array
added to convert a different array
to arrayfire Array.
af.xyz_to_af_array
functions mentioned above.lock_device_ptr
is deprecated. Use lock_array
instead.unlock_device_ptr
is deprecated. Use unlock_array
instead.translate
, scale
, skew
, histogram
, bilateral
, mean_shift
.AF_PATH
is set if none is found as an environment variable.get_version()
now returns ints instead of c_int
tests/simple/device.py
ctypes.cdll.LoadLibrary
fails.info_str()
returns information similar to info()
as a string.sift
, gloh
, homography
plot3
, surface
load_image_native
, save_image_native
unified
backend when possibleeval
, init
, convolve2_separable
, as_type
methodcuda
backend specific functionsopencl
backend specific functionstimeit
function to benchmark arrayfire functionsintro
, convolve
bench_blas
, bench_fft
monte_carlo_options
, black_scholes
, heston_model
fractal
, histogram
, plot3d
, conway
, surface
__repr__
support