The NDK supports all these architectures, with openmp as well since its 9th version. Use gcc (it's the compiler by default), and add
-fopenmp to your NDK module's CFLAGS and LDFLAGS in yourAndroid.mk Makefile:include $(CLEAR_VARS)
LOCAL_MODULE := yourmodule
LOCAL_SRC_FILES := yourmodule.c
LOCAL_CFLAGS += -fopenmp
LOCAL_LDFLAGS += -fopenmp
include $(BUILD_SHARED_LIBRARY)
댓글 없음:
댓글 쓰기