[Libclc-dev] libclc + llvm: enabling extensions

Richard Gorton rcgorton at cognitive-electronics.com
Thu Jan 15 06:42:30 PST 2015


I'm working with libclc/llvm, and encountered a compilation error on generic/include/clc/clc.h

#ifndef cl_clang_storage_class_specifiers
#error Implementation requires cl_clang_storage_class_specifiers extension!

Quite reasonable; as I'm investigating what goes on in LLVM3.5 I do not see any apparent instances where the various features are turned on for a given target.  What (if any) is the 'normal' convention used to turn the various extensions on or off for a given target?


	Richard Gorton
	rcgorton at cog-e.com

More information about the Libclc-dev mailing list