Skip to content

Commit 2867197

Browse files
authored
Remove patch for opencl-c.h (#391)
Not all functions that use Image type should be wrapped by feature macro __opencl_c_images because some of these functions need to be available for OpenCL C 1.2 in which feature macro can not be set. Therefore this patch needs to be removed because it broke backward compatibility for OpenCL C 1.2 Additionally, fixed cross-compilation crash. The bug was added by PR #379
1 parent 26f2146 commit 2867197

File tree

2 files changed

+0
-487
lines changed

2 files changed

+0
-487
lines changed

cl_headers/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ set(CLANG_COMMAND $<TARGET_FILE:clang> )
33
if(LLVM_USE_HOST_TOOLS AND NOT OPENCL_CLANG_BUILD_EXTERNAL)
44
build_native_tool(clang CLANG_COMMAND)
55
endif()
6-
set(LINUX_RESOURCE_LINKER_COMMAND linux_resource_linker)
76

87
function(copy_file SRC DST)
98
add_custom_command(

0 commit comments

Comments
 (0)