/home/downloads/git/opencl-example> strace /home/downloads/git/opencl-example/hello_world >log execve("/home/downloads/git/opencl-example/hello_world", ["/home/downloads/git/opencl-examp"...], [/* 99 vars */]) = 0 brk(0) = 0x8345000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7757000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=126062, ...}) = 0 mmap2(NULL, 126062, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7738000 close(3) = 0 open("/usr/lib/libOpenCL.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\331\27\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=15408516, ...}) = 0 mmap2(NULL, 17271396, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb66bf000 mmap2(0xb752a000, 290816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe6b) = 0xb752a000 mmap2(0xb7571000, 1862244, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7571000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\226\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1741576, ...}) = 0 mmap2(NULL, 1546908, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6545000 mmap2(0xb66b9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x174) = 0xb66b9000 mmap2(0xb66bc000, 10908, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb66bc000 close(3) = 0 open("/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@Z\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=124360, ...}) = 0 mmap2(NULL, 107016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb652a000 mmap2(0xb6541000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16) = 0xb6541000 mmap2(0xb6543000, 4616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6543000 close(3) = 0 open("/usr/lib/libxcb-dri2.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \25\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=17892, ...}) = 0 mmap2(NULL, 20532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6524000 mmap2(0xb6528000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb6528000 close(3) = 0 open("/usr/lib/libxcb.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\221\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=137008, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6523000 mmap2(NULL, 139688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6500000 mmap2(0xb6521000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20) = 0xb6521000 close(3) = 0 open("/usr/lib/libdrm.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0-\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=50836, ...}) = 0 mmap2(NULL, 54884, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb64f2000 mmap2(0xb64fe000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb64fe000 close(3) = 0 open("/usr/lib/libudev.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220)\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=67028, ...}) = 0 mmap2(NULL, 71748, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb64e0000 mmap2(0xb64f0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0xb64f0000 close(3) = 0 open("/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\31\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=39025, ...}) = 0 mmap2(NULL, 33356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb64d7000 mmap2(0xb64de000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb64de000 close(3) = 0 open("/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=17368, ...}) = 0 mmap2(NULL, 16512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb64d2000 mmap2(0xb64d5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb64d5000 close(3) = 0 open("/usr/lib/libLLVM-3.3svn.so", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@/\32\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=17896124, ...}) = 0 mmap2(NULL, 17933168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb53b7000 mmap2(0xb6475000, 344064, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10bd) = 0xb6475000 mmap2(0xb64c9000, 33648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb64c9000 close(3) = 0 open("/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\260\4\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=934620, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb53b6000 mmap2(NULL, 964148, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb52ca000 mmap2(0xb53aa000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xdf) = 0xb53aa000 mmap2(0xb53af000, 26164, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb53af000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PD\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=296281, ...}) = 0 mmap2(NULL, 266384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb5288000 mmap2(0xb52c8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3f) = 0xb52c8000 close(3) = 0 open("/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300$\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=116356, ...}) = 0 mmap2(NULL, 119344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb526a000 mmap2(0xb5286000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b) = 0xb5286000 close(3) = 0 open("/usr/lib/libXau.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\v\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=9732, ...}) = 0 mmap2(NULL, 12436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb5266000 mmap2(0xb5268000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb5268000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb5265000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb5264000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb5264940, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb66b9000, 8192, PROT_READ) = 0 mprotect(0xb5268000, 4096, PROT_READ) = 0 mprotect(0xb5286000, 4096, PROT_READ) = 0 mprotect(0xb52c8000, 4096, PROT_READ) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb5263000 mprotect(0xb53aa000, 16384, PROT_READ) = 0 mprotect(0xb6541000, 4096, PROT_READ) = 0 mprotect(0xb64d5000, 4096, PROT_READ) = 0 mprotect(0xb6475000, 311296, PROT_READ) = 0 mprotect(0xb64de000, 4096, PROT_READ) = 0 mprotect(0xb64f0000, 4096, PROT_READ) = 0 mprotect(0xb64fe000, 4096, PROT_READ) = 0 mprotect(0xb6521000, 4096, PROT_READ) = 0 mprotect(0xb6528000, 4096, PROT_READ) = 0 mprotect(0xb752a000, 253952, PROT_READ) = 0 mprotect(0x804b000, 4096, PROT_READ) = 0 mprotect(0xb7779000, 4096, PROT_READ) = 0 munmap(0xb7738000, 126062) = 0 set_tid_address(0xb52649a8) = 6454 set_robust_list(0xb52649b0, 12) = 0 futex(0xbfaff1a8, FUTEX_WAKE_PRIVATE, 1) = 0 futex(0xbfaff1a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, b5264940) = -1 EAGAIN (Resource temporarily unavailable) rt_sigaction(SIGRTMIN, {0xb652f450, [], SA_SIGINFO}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0xb652f4e0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 uname({sys="Linux", node="linux-gyo1.site", ...}) = 0 brk(0) = 0x8345000 brk(0x8366000) = 0x8366000 gettimeofday({1366228797, 843403}, NULL) = 0 gettimeofday({1366228797, 843463}, NULL) = 0 open("/dev/dri/card0", O_RDWR) = 3 close(3) = 0 open("/dev/dri/card1", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card2", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card3", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card4", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card5", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card6", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card7", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card8", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card9", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card10", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card11", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card12", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card13", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card14", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card15", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card0", O_RDWR) = 3 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 4 connect(4, {sa_family=AF_FILE, sun_path=@"/tmp/.X11-unix/X0"}, 20) = 0 getpeername(4, {sa_family=AF_FILE, sun_path=@"/tmp/.X11-unix/X0"...}, [20]) = 0 uname({sys="Linux", node="linux-gyo1.site", ...}) = 0 access("/home/droid/.Xauthority", R_OK) = 0 open("/home/droid/.Xauthority", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0600, st_size=580, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7756000 read(5, "\0\0\0\4\300\250\1!\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) = 580 close(5) = 0 munmap(0xb7756000, 4096) = 0 getsockname(4, {sa_family=AF_FILE, NULL}, [2]) = 0 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"", 0}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {">\265\301P\245\3158\2249DU\212s\rf\265", 16}, {"", 0}], 6) = 48 recv(4, "\1\0\v\0\0\0\323\5", 8, 0) = 8 recv(4, "@\363\255\0\0\0\240\4\377\377\37\0\0\1\0\0\24\0\377\377\1\7\0\0 \10\377\0\0\0\0"..., 5964, 0) = 5964 poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"b\0\3\0\4\0\0\0DRI2", 12}], 1) = 12 poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}]) recv(4, "\1\0\1\0\0\0\0\0\1\231f\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\231\1\3\0\300\2\0\0\0\0\0\0", 12}], 1) = 12 poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}]) recv(4, "\1\0\2\0\5\0\0\0\4\0\0\0\16\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096, 0) = 52 ioctl(3, 0x80046402, 0xbfaff2ec) = 0 poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\231\2\3\0\300\2\0\0\35\0\0\0", 12}], 1) = 12 poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}]) recv(4, "\1\0\3\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0) = 32 shutdown(4, SHUT_RDWR) = 0 close(4) = 0 fstat64(3, {st_mode=S_IFCHR|0660, st_rdev=makedev(226, 0), ...}) = 0 open("/etc/udev/udev.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 4 fcntl64(4, F_GETFD) = 0x1 (flags FD_CLOEXEC) fstat64(4, {st_mode=S_IFREG|0644, st_size=44, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7756000 read(4, "# see udev(7) for details\n\n#udev"..., 4096) = 44 read(4, "", 4096) = 0 close(4) = 0 munmap(0xb7756000, 4096) = 0 readlink("/sys/dev/char/226:0", "../../devices/pci0000:00/0000:00"..., 1024) = 60 stat64("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0/uevent", {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0 readlink("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm", 0xbfafe1cc, 1024) = -1 EINVAL (Invalid argument) stat64("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/uevent", 0xbfafe61c) = -1 ENOENT (No such file or directory) readlink("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0", 0xbfafe1cc, 1024) = -1 EINVAL (Invalid argument) stat64("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/uevent", {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0 open("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/uevent", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7756000 read(4, "DRIVER=radeon\nPCI_CLASS=30000\nPC"..., 4096) = 161 read(4, "", 4096) = 0 close(4) = 0 munmap(0xb7756000, 4096) = 0 readlink("/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/subsystem", "../../../../bus/pci", 1024) = 19 open("/run/udev/data/+pci:0000:01:00.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/dev/dri/card1", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card2", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card3", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card4", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card5", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card6", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card7", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card8", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card9", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card10", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card11", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card12", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card13", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card14", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/dri/card15", O_RDWR) = -1 ENOENT (No such file or directory) futex(0xb64d6058, FUTEX_WAKE_PRIVATE, 2147483647) = 0 open("/usr/lib/gallium-pipe/pipe_r600.so", O_RDONLY|O_CLOEXEC) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\354\0\0004\0\0\0"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=2406764, ...}) = 0 mmap2(NULL, 4281064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb4e4d000 mmap2(0xb5080000, 106496, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x232) = 0xb5080000 mmap2(0xb509a000, 1868520, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb509a000 close(4) = 0 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=126062, ...}) = 0 mmap2(NULL, 126062, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7738000 close(4) = 0 open("/usr/lib/libllvmradeon9.2.0.so", O_RDONLY|O_CLOEXEC) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\256\0\0004\0\0\0"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=1947408, ...}) = 0 mmap2(NULL, 3812392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb4aaa000 mmap2(0xb4c7c000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1d1) = 0xb4c7c000 mmap2(0xb4c87000, 1858600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb4c87000 close(4) = 0 open("/usr/lib/libdrm_radeon.so.1", O_RDONLY|O_CLOEXEC) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\31\0\0004\0\0\0"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=50856, ...}) = 0 mmap2(NULL, 53572, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb4a9c000 mmap2(0xb4aa8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xb) = 0xb4aa8000 close(4) = 0 mprotect(0xb4aa8000, 4096, PROT_READ) = 0 mprotect(0xb4c7c000, 36864, PROT_READ) = 0 mprotect(0xb5080000, 90112, PROT_READ) = 0 futex(0xb53b42fc, FUTEX_WAKE_PRIVATE, 2147483647) = 0 futex(0xb53b4304, FUTEX_WAKE_PRIVATE, 2147483647) = 0 munmap(0xb7738000, 126062) = 0 ioctl(3, 0xc0246400, 0x83491a8) = 0 ioctl(3, 0xc0246400, 0x83491a8) = 0 ioctl(3, 0xc0106467, 0xbfaff2a0) = 0 ioctl(3, 0xc0106467, 0xbfaff2a0) = 0 ioctl(3, TUNER_SET_CONFIG, 0xbfaff2e8) = 0 time(NULL) = 1366228797 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 4 read(4, "0-1\n", 8192) = 4 close(4) = 0 ioctl(3, 0xc0106467, 0xbfaff2a0) = 0 ioctl(3, 0xc0106467, 0xbfaff2a0) = 0 ioctl(3, 0xc0106467, 0xbfaff2a0) = 0 ioctl(3, 0xc0106467, 0xbfaff2a0) = 0 ioctl(3, 0xc0106467, 0xbfaff2a0) = 0 ioctl(3, 0xc0106467, 0xbfaff2a0) = -1 EINVAL (Invalid argument) ioctl(3, 0xc0106467, 0xbfaff2a0) = -1 EINVAL (Invalid argument) ioctl(3, 0xc0106467, 0xbfaff2a0) = 0 ioctl(3, 0xc0106467, 0xbfaff270) = 0 ioctl(3, 0xc0106467, 0xbfaff270) = 0 ioctl(3, 0xc0246400, 0x8349208) = 0 ioctl(3, 0xc0246400, 0x8349208) = 0 rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0 mmap2(NULL, 8388608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0xb429c000 mprotect(0xb429c000, 4096, PROT_NONE) = 0 clone(child_stack=0xb4a9b424, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb4a9bba8, {entry_number:6, base_addr:0xb4a9bb40, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb4a9bba8) = 6455 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=126062, ...}) = 0 mmap2(NULL, 126062, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7738000 close(4) = 0 open("/usr/lib/libtxc_dxtn.so", O_RDONLY|O_CLOEXEC) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\6\0\0004\0\0\0"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=17820, ...}) = 0 mmap2(NULL, 20516, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb4296000 mmap2(0xb429a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3) = 0xb429a000 close(4) = 0 mprotect(0xb429a000, 4096, PROT_READ) = 0 munmap(0xb7738000, 126062) = 0 open("/usr/lib/gallium-pipe/pipe_swrast.so", O_RDONLY|O_CLOEXEC) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\313\0\0004\0\0\0"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=2193508, ...}) = 0 mmap2(NULL, 4084440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb3eb0000 mmap2(0xb40be000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x20d) = 0xb40be000 mmap2(0xb40c9000, 1884888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb40c9000 close(4) = 0 mprotect(0xb40be000, 36864, PROT_READ) = 0 futex(0xb52870f8, FUTEX_WAKE_PRIVATE, 2147483647) = 0 write(2, "There are 1 platforms.\n", 23There are 1 platforms. ) = 23 write(2, "There are 1 GPU devices.\n", 25There are 1 GPU devices. ) = 25 write(2, "clCreateContext() succeeded.\n", 29clCreateContext() succeeded. ) = 29 mmap2(NULL, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb3e8e000 mmap2(NULL, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb3e6c000 clock_gettime(CLOCK_MONOTONIC, {8024, 853140859}) = 0 ioctl(3, 0xc01c645d, 0xbfafc4d4) = 0 ioctl(3, 0xc020645e, 0xbfafc630) = 0 mmap2(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0x123787) = 0xb7747000 clock_gettime(CLOCK_MONOTONIC, {8024, 853348005}) = 0 ioctl(3, 0xc01c645d, 0xbfafc514) = 0 ioctl(3, 0xc0086464, 0xbfafc628) = 0 ioctl(3, 0xc020645e, 0xbfafc5f0) = 0 mmap2(NULL, 96, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0x123797) = 0xb7746000 clock_gettime(CLOCK_MONOTONIC, {8024, 853496150}) = 0 ioctl(3, 0xc01c645d, 0xbfafc544) = 0 ioctl(3, 0xc0086464, 0xbfafc658) = 0 ioctl(3, 0xc020645e, 0xbfafc620) = 0 mmap2(NULL, 72, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0x123798) = 0xb7745000 clock_gettime(CLOCK_MONOTONIC, {8024, 853644740}) = 0 ioctl(3, 0xc01c645d, 0xbfafc6c4) = 0 ioctl(3, 0xc0086464, 0xbfafc7d8) = 0 ioctl(3, 0xc020645e, 0xbfafc7a0) = 0 mmap2(NULL, 48, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0x123799) = 0xb7744000 write(2, "clCreateCommandQueue() succeeded"..., 34clCreateCommandQueue() succeeded. ) = 34 write(2, "clCreateProgramWithSource() suce"..., 38clCreateProgramWithSource() suceeded. ) = 38 lseek(2, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) brk(0x8391000) = 0x8391000 stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("input.cl", 0xbfafbd20) = -1 ENOENT (No such file or directory) getcwd("/home/downloads/git/opencl-example", 4096) = 35 access("/home/downloads/git/opencl-example/clc/clc.h", F_OK) = -1 ENOENT (No such file or directory) stat64("/usr/include", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0 stat64("/usr/local/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/usr/lib/clang/3.3/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/System/Library/CoreServices/SystemVersion.plist", O_RDONLY) = -1 ENOENT (No such file or directory) rt_sigaction(SIGHUP, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGPIPE, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGUSR1, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGUSR2, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGILL, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTRAP, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGABRT, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGFPE, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGBUS, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGSEGV, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGQUIT, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGSYS, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGXCPU, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGXFSZ, {0xb56cc3e0, [], SA_NODEFER|SA_RESETHAND}, {SIG_DFL, [], 0}, 8) = 0 brk(0x83b2000) = 0x83b2000 stat64("./clc", 0xbfafae70) = -1 ENOENT (No such file or directory) stat64("/usr/local/include/clc", 0xbfafa9e0) = -1 ENOENT (No such file or directory) stat64("/usr/lib/clang/3.3/include/clc", 0xbfafa9e0) = -1 ENOENT (No such file or directory) stat64("/usr/include/clc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/include/clc/clc.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=2401, ...}) = 0 pread64(4, "#ifndef cl_clang_storage_class_s"..., 2401, 0) = 2401 close(4) = 0 open("/usr/include/clc/clcfunc.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=176, ...}) = 0 pread64(4, "#define _CLC_OVERLOAD __attribut"..., 176, 0) = 176 close(4) = 0 open("/usr/include/clc/clcmacro.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=1546, ...}) = 0 pread64(4, "#define _CLC_UNARY_VECTORIZE(DEC"..., 1546, 0) = 1546 close(4) = 0 open("/usr/include/clc/clctypes.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=3186, ...}) = 0 pread64(4, "/* 6.1.1 Built-in Scalar Data Ty"..., 3186, 0) = 3186 close(4) = 0 open("/usr/local/include/stddef.h", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/clang/3.3/include/stddef.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=2796, ...}) = 0 pread64(4, "/*===---- stddef.h - Basic type "..., 2796, 0) = 2796 close(4) = 0 open("/usr/include/clc/convert.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=2874, ...}) = 0 pread64(4, "#define _CLC_CONVERT_DECL(FROM_T"..., 2874, 0) = 2874 close(4) = 0 brk(0x83d9000) = 0x83d9000 brk(0x83fa000) = 0x83fa000 brk(0x841b000) = 0x841b000 mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb3e2b000 open("/usr/include/clc/as_type.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0 pread64(4, "#define as_char(x) __builtin_ast"..., 2309, 0) = 2309 close(4) = 0 stat64("/usr/local/include/clc/workitem", 0xbfaf9d10) = -1 ENOENT (No such file or directory) stat64("/usr/lib/clang/3.3/include/clc/workitem", 0xbfaf9d10) = -1 ENOENT (No such file or directory) stat64("/usr/include/clc/workitem", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/include/clc/workitem/get_global_size.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=44, ...}) = 0 pread64(4, "_CLC_DECL size_t get_global_size"..., 44, 0) = 44 close(4) = 0 open("/usr/include/clc/workitem/get_global_id.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0 pread64(4, "_CLC_DECL size_t get_global_id(u"..., 42, 0) = 42 close(4) = 0 open("/usr/include/clc/workitem/get_local_size.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=43, ...}) = 0 pread64(4, "_CLC_DECL size_t get_local_size("..., 43, 0) = 43 close(4) = 0 open("/usr/include/clc/workitem/get_local_id.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=41, ...}) = 0 pread64(4, "_CLC_DECL size_t get_local_id(ui"..., 41, 0) = 41 close(4) = 0 open("/usr/include/clc/workitem/get_num_groups.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=43, ...}) = 0 pread64(4, "_CLC_DECL size_t get_num_groups("..., 43, 0) = 43 close(4) = 0 open("/usr/include/clc/workitem/get_group_id.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=41, ...}) = 0 pread64(4, "_CLC_DECL size_t get_group_id(ui"..., 41, 0) = 41 close(4) = 0 stat64("/usr/local/include/clc/math", 0xbfaf9fb0) = -1 ENOENT (No such file or directory) stat64("/usr/lib/clang/3.3/include/clc/math", 0xbfaf9fb0) = -1 ENOENT (No such file or directory) stat64("/usr/include/clc/math", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/include/clc/math/cos.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0 pread64(4, "#undef cos\n#define cos __clc_cos"..., 127, 0) = 127 close(4) = 0 open("/usr/include/clc/math/unary_intrin.inc", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=875, ...}) = 0 pread64(4, "_CLC_OVERLOAD float FUNCTION(flo"..., 875, 0) = 875 close(4) = 0 open("/usr/include/clc/math/ceil.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0 pread64(4, "#undef ceil\n#define ceil __clc_c"..., 132, 0) = 132 close(4) = 0 open("/usr/include/clc/math/exp.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0 pread64(4, "#undef exp\n\n// exp(x) = exp2(x *"..., 92, 0) = 92 close(4) = 0 open("/usr/include/clc/math/exp2.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0 pread64(4, "#undef exp2\n#define exp2 __clc_e"..., 132, 0) = 132 close(4) = 0 open("/usr/include/clc/math/fabs.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0 pread64(4, "#undef fabs\n#define fabs __clc_f"..., 132, 0) = 132 close(4) = 0 open("/usr/include/clc/math/floor.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=137, ...}) = 0 pread64(4, "#undef floor\n#define floor __clc"..., 137, 0) = 137 close(4) = 0 open("/usr/include/clc/math/fma.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=129, ...}) = 0 pread64(4, "#undef fma\n#define fma __clc_fma"..., 129, 0) = 129 close(4) = 0 open("/usr/include/clc/math/ternary_intrin.inc", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=1055, ...}) = 0 pread64(4, "_CLC_OVERLOAD float FUNCTION(flo"..., 1055, 0) = 1055 close(4) = 0 open("/usr/include/clc/math/fmax.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=168, ...}) = 0 pread64(4, "#undef fmax\n#define fmax __clc_f"..., 168, 0) = 168 close(4) = 0 open("/usr/include/clc/math/gentype.inc", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=738, ...}) = 0 pread64(4, "#define GENTYPE float\n#define SC"..., 738, 0) = 738 close(4) = 0 open("/usr/include/clc/math/binary_decl.inc", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=216, ...}) = 0 pread64(4, "_CLC_OVERLOAD _CLC_DECL GENTYPE "..., 216, 0) = 216 close(4) = 0 open("/usr/include/clc/math/fmin.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=168, ...}) = 0 pread64(4, "#undef fmin\n#define fmin __clc_f"..., 168, 0) = 168 close(4) = 0 open("/usr/include/clc/math/hypot.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=66, ...}) = 0 pread64(4, "#define BODY \n"..., 64, 0) = 64 close(4) = 0 open("/usr/include/clc/math/mad.inc", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=70, ...}) = 0 pread64(4, "_CLC_OVERLOAD _CLC_DECL GENTYPE "..., 70, 0) = 70 close(4) = 0 open("/usr/include/clc/math/pow.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=128, ...}) = 0 pread64(4, "#undef pow\n#define pow __clc_pow"..., 128, 0) = 128 close(4) = 0 open("/usr/include/clc/math/binary_intrin.inc", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=953, ...}) = 0 pread64(4, "_CLC_OVERLOAD float FUNCTION(flo"..., 953, 0) = 953 close(4) = 0 open("/usr/include/clc/math/sin.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0 pread64(4, "#undef sin\n#define sin __clc_sin"..., 127, 0) = 127 close(4) = 0 open("/usr/include/clc/math/sqrt.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0 pread64(4, "#undef sqrt\n#define sqrt __clc_s"..., 132, 0) = 132 close(4) = 0 open("/usr/include/clc/math/native_cos.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 pread64(4, "#define native_cos cos\n", 23, 0) = 23 close(4) = 0 open("/usr/include/clc/math/native_divide.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=40, ...}) = 0 pread64(4, "#define native_divide(x, y) ((x)"..., 40, 0) = 40 close(4) = 0 open("/usr/include/clc/math/native_exp.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 pread64(4, "#define native_exp exp\n", 23, 0) = 23 close(4) = 0 open("/usr/include/clc/math/native_exp2.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=25, ...}) = 0 pread64(4, "#define native_exp2 exp2\n", 25, 0) = 25 close(4) = 0 open("/usr/include/clc/math/native_log.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 pread64(4, "#define native_log log\n", 23, 0) = 23 close(4) = 0 open("/usr/include/clc/math/native_log2.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=25, ...}) = 0 pread64(4, "#define native_log2 log2\n", 25, 0) = 25 close(4) = 0 open("/usr/include/clc/math/native_powr.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=24, ...}) = 0 pread64(4, "#define native_powr pow\n", 24, 0) = 24 close(4) = 0 open("/usr/include/clc/math/native_sin.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 pread64(4, "#define native_sin sin\n", 23, 0) = 23 close(4) = 0 open("/usr/include/clc/math/native_sqrt.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=25, ...}) = 0 pread64(4, "#define native_sqrt sqrt\n", 25, 0) = 25 close(4) = 0 open("/usr/include/clc/math/rsqrt.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=32, ...}) = 0 pread64(4, "#define rsqrt(x) (1.f/sqrt(x))\r\n", 32, 0) = 32 close(4) = 0 stat64("/usr/local/include/clc/integer", 0xbfaf8810) = -1 ENOENT (No such file or directory) stat64("/usr/lib/clang/3.3/include/clc/integer", 0xbfaf8810) = -1 ENOENT (No such file or directory) stat64("/usr/include/clc/integer", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/include/clc/integer/abs.h", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=70, ...}) = 0 pread64(4, "#define BODY