Skip to content

Commit d639934

Browse files
Naghasandavidtwco
andcommitted
[SYCL-PTX] Fix geometric and common builtin categories
Signed-off-by: Victor Lomuller <[email protected]> Co-authored-by: David Wood <[email protected]>
1 parent 3aec7f7 commit d639934

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+3210
-535
lines changed

libclc/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ install( DIRECTORY generic/include/clc DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
164164

165165
if( ENABLE_RUNTIME_SUBNORMAL )
166166
add_library( subnormal_use_default STATIC
167-
generic/lib/subnormal_use_default.ll )
167+
generic/libspirv/subnormal_use_default.ll )
168168
add_library( subnormal_disable STATIC
169-
generic/lib/subnormal_disable.ll )
169+
generic/libspirv/subnormal_disable.ll )
170170
install( TARGETS subnormal_use_default subnormal_disable ARCHIVE
171171
DESTINATION ${CMAKE_INSTALL_DATADIR}/clc )
172172
endif()

libclc/generic/include/clc/geometric/floatn.inc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
//
7+
//===----------------------------------------------------------------------===//
8+
19
#define __CLC_FLOAT float
210
#define __CLC_FPSIZE 32
311

libclc/generic/include/spirv/common/mix.h

Lines changed: 0 additions & 10 deletions
This file was deleted.

libclc/generic/include/spirv/common/mix.inc

Lines changed: 0 additions & 13 deletions
This file was deleted.

libclc/generic/include/spirv/common/radians.h

Lines changed: 0 additions & 11 deletions
This file was deleted.

libclc/generic/include/spirv/common/sign.h

Lines changed: 0 additions & 13 deletions
This file was deleted.

libclc/generic/include/spirv/common/smoothstep.h

Lines changed: 0 additions & 11 deletions
This file was deleted.

libclc/generic/include/spirv/common/smoothstep.inc

Lines changed: 0 additions & 14 deletions
This file was deleted.

libclc/generic/include/spirv/common/step.h

Lines changed: 0 additions & 11 deletions
This file was deleted.

libclc/generic/include/spirv/common/step.inc

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)