Permalink
Browse files

Also check global and local parameters

Obviously, local parameters are affected as well.
  • Loading branch information...
1 parent d8bcdf7 commit e7ba85c0cf44c683faf6e8625e4e75b27d749219 @matze committed Jul 19, 2012
Showing with 42 additions and 0 deletions.
  1. +6 −0 check.c
  2. +36 −0 programs.cl
View
@@ -52,9 +52,15 @@ int main(int argc, char *argv[])
static const gchar *kernels[] =
{
"assign",
+ "two_global_params",
+ "three_global_params",
+ "four_global_params",
"two_const_params",
"three_const_params",
"four_const_params",
+ "two_local_params",
+ "three_local_params",
+ "four_local_params",
NULL
};
View
@@ -21,3 +21,39 @@ __kernel void four_const_params(__constant float *c_param_1,
__constant float *c_param_4)
{
}
+
+__kernel void two_local_params(__constant float *l_param_1,
+ __constant float *l_param_2)
+{
+}
+
+__kernel void three_local_params(__constant float *l_param_1,
+ __constant float *l_param_2,
+ __constant float *l_param_3)
+{
+}
+
+__kernel void four_local_params(__constant float *l_param_1,
+ __constant float *l_param_2,
+ __constant float *l_param_3,
+ __constant float *l_param_4)
+{
+}
+
+__kernel void two_global_params(__global float *g_param_1,
+ __global float *g_param_2)
+{
+}
+
+__kernel void three_global_params(__global float *g_param_1,
+ __global float *g_param_2,
+ __global float *g_param_3)
+{
+}
+
+__kernel void four_global_params(__global float *g_param_1,
+ __global float *g_param_2,
+ __global float *g_param_3,
+ __global float *g_param_4)
+{
+}

0 comments on commit e7ba85c

Please sign in to comment.