diff options
author | Aaron Watry <awatry@gmail.com> | 2012-10-10 18:44:04 -0500 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-10-15 20:53:38 +0000 |
commit | e1f3ac898ed469b1f2224237b7e221d745517f92 (patch) | |
tree | 80b53415092d8e2d55c889d2cc4cab3edc3594a7 /tests/cl/program/build | |
parent | dbeec5605eddc42f774711efc0710cfd01dd0712 (diff) |
cl: Add build test for mixed macro definitions.
Include definitions for both specified and unspecified values.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'tests/cl/program/build')
-rw-r--r-- | tests/cl/program/build/mixed-macro-definitions.cl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/cl/program/build/mixed-macro-definitions.cl b/tests/cl/program/build/mixed-macro-definitions.cl new file mode 100644 index 000000000..274f813ab --- /dev/null +++ b/tests/cl/program/build/mixed-macro-definitions.cl @@ -0,0 +1,12 @@ +/*! +[config] +name: Mixed Macro Definitions +clc_version_min: 10 +build_options: -D BUILD_OPT1 -D BUILD_OPT2=2 +!*/ + + + +kernel void dummy_kernel(){ + int var1 = BUILD_OPT1; int var2 = BUILD_OPT2; +}
\ No newline at end of file |