unsigned char hA[] ={1, 2, 3, 4};
af:array A(4, hA); // Like every other array created from host data
printf("%d\n", A.getType()); // Should be 7 according to https://github.com/arrayfire/arrayfire/blob/devel/include/af/defines.h#L203Hi Eric arrayfire supports 8 bit integers. You just need to cast uint8 pointers to unsigned char pointers. The relevant arrayfire data type is u8.
--
You received this message because you are subscribed to the Google Groups "ArrayFire Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arrayfire-use...@googlegroups.com.
To post to this group, send email to arrayfi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/arrayfire-users/ed13da28-a16d-4ea6-9ede-a5056095b03e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.