PTX: move implementations of work-item and synchronisation functions
authorPeter Collingbourne <peter@pcc.me.uk>
Sun, 5 Aug 2012 22:25:37 +0000 (22:25 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sun, 5 Aug 2012 22:25:37 +0000 (22:25 +0000)
commita385c5341329da54e4834aa0af5e382617114d3f
tree48b74090743ab20ecd0bbf04e65b8cec784885a5
parent1e373f07af5113529cb03f4699971b492cb508ed
PTX: move implementations of work-item and synchronisation functions
to lib, and add header files in generic.  Incorporates a patch by
Tom Stellard!

llvm-svn: 161313
18 files changed:
libclc/generic/include/clc/synchronization/barrier.h [new file with mode: 0644]
libclc/generic/include/clc/workitem/get_global_id.h [new file with mode: 0644]
libclc/generic/include/clc/workitem/get_global_size.h [new file with mode: 0644]
libclc/generic/include/clc/workitem/get_group_id.h [new file with mode: 0644]
libclc/generic/include/clc/workitem/get_local_id.h [new file with mode: 0644]
libclc/generic/include/clc/workitem/get_local_size.h [new file with mode: 0644]
libclc/generic/include/clc/workitem/get_num_groups.h [new file with mode: 0644]
libclc/generic/lib/SOURCES
libclc/generic/lib/workitem/get_global_id.cl [new file with mode: 0644]
libclc/generic/lib/workitem/get_global_size.cl [new file with mode: 0644]
libclc/ptx-nvidiacl/include/clc/workitem/get_global_id.h [deleted file]
libclc/ptx-nvidiacl/include/clc/workitem/get_global_size.h [deleted file]
libclc/ptx-nvidiacl/lib/SOURCES
libclc/ptx-nvidiacl/lib/synchronization/barrier.cl [moved from libclc/ptx-nvidiacl/include/clc/synchronization/barrier.h with 51% similarity]
libclc/ptx-nvidiacl/lib/workitem/get_group_id.cl [moved from libclc/ptx-nvidiacl/include/clc/workitem/get_group_id.h with 74% similarity]
libclc/ptx-nvidiacl/lib/workitem/get_local_id.cl [moved from libclc/ptx-nvidiacl/include/clc/workitem/get_local_id.h with 74% similarity]
libclc/ptx-nvidiacl/lib/workitem/get_local_size.cl [moved from libclc/ptx-nvidiacl/include/clc/workitem/get_local_size.h with 74% similarity]
libclc/ptx-nvidiacl/lib/workitem/get_num_groups.cl [moved from libclc/ptx-nvidiacl/include/clc/workitem/get_num_groups.h with 74% similarity]