~ubuntu-branches/ubuntu/quantal/starpu-contrib/quantal

« back to all changes in this revision

Viewing changes to gcc-plugin/tests/pointers.c

  • Committer: Package Import Robot
  • Author(s): Samuel Thibault
  • Date: 2012-04-12 15:04:15 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120412150415-gzp107thb5wknugm
Tags: 1.0.1-1
* New upstream release.
* Explicitly use gcc-4.6 to fix plugin build (Closes: Bug#667381).
* Use gcc-4.5 for starpu, as nvcc does not actually support all 4.6
  features, notably not __float128.
* patches/relax-gcc-plugin: Relax gcc-4.6 dependency for plugins to upstream
  release version (Closes: #670422)
* watch: Fix URL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
my_pointer_task_cpu (const int *x, short *y)
33
33
{
34
34
  printf ("%s: x = %p, y = %p\n", __func__, x, y);
 
35
  assert (*x == 42 && *y == 77);
35
36
}
36
37
 
37
38
static void
38
39
my_pointer_task_opencl (const int *x, short *y)
39
40
{
40
41
  printf ("%s: x = %p, y = %p\n", __func__, x, y);
 
42
  assert (*x == 42 && *y == 77);
41
43
}
42
44
 
43
45