aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShow Liu <show.liu@linaro.org>2015-06-17 09:46:17 +0800
committerGil Pitney <gil.pitney@linaro.org>2015-06-23 01:20:15 +0000
commite71467e15b6b89645740f6032618eb67b21a20dd (patch)
tree2107f508ae5869b1ac7c289181e28eee97505689
parent635437f5fdcbd8274f1505ae0e2750ceca3060c5 (diff)
downloadshamrock-e71467e15b6b89645740f6032618eb67b21a20dd.tar.gz
added "-cl-std=CL1.2" cflags support
-rw-r--r--src/core/compiler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/compiler.cpp b/src/core/compiler.cpp
index bc7dd18..c5a28d7 100644
--- a/src/core/compiler.cpp
+++ b/src/core/compiler.cpp
@@ -246,6 +246,9 @@ int Compiler::compile(const std::string &options,
else if (token == "-cl-std=CL1.1")
{
}
+ else if (token == "-cl-std=CL1.2")
+ {
+ }
else if (token == "-cl-kernel-arg-info")
{
// required by clGetKernelArgInfo() v1.2 API