always allocate non-zero sized arrays
always allocate non-zero sized arrays

mallocArray returns a null pointer and invalid argument exception otherwise. remaining commands are happy to peek/poke zero elements to a valid pointer, etc.

tmcdonell/accelerate-cuda,tmcdonell/accelerate-cuda,tmcdonell/accelerate-cuda,AccelerateHS/accelerate-cuda,mwu-tow/accelerate-cuda,flowbox-public/accelerate-cuda,AccelerateHS/accelerate-cuda,mikusp/accelerate-cuda,mwu-tow/accelerate-cuda,mikusp/accelerate-cuda,flowbox-public/accelerate-cuda,mwu-tow/accelerate-cuda,mikusp/accelerate-cuda,flowbox-public/accelerate-cuda,AccelerateHS/accelerate-cuda