Skip to content

Commit 4e6b8d9

Browse files
committed
fix cuda
1 parent e1bfd92 commit 4e6b8d9

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

CMakeLists.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ foreach(source IN LISTS sources)
5555
target_include_directories(${name} PRIVATE include)
5656
endforeach()
5757

58-
file(GLOB subdirs CONFIGURE_DEPENDS "examples/*/CMakeLists.txt")
59-
foreach(subdir IN LISTS subdirs)
60-
get_filename_component(name ${subdir} DIRECTORY)
61-
get_filename_component(name ${name} NAME)
62-
add_subdirectory(${name})
63-
endforeach()
58+
# file(GLOB subdirs CONFIGURE_DEPENDS "examples/*/CMakeLists.txt")
59+
# foreach(subdir IN LISTS subdirs)
60+
# get_filename_component(name ${subdir} DIRECTORY)
61+
# get_filename_component(name ${name} NAME)
62+
# add_subdirectory(${name})
63+
# endforeach()

docs/lambda.md

+6
Original file line numberDiff line numberDiff line change
@@ -1732,3 +1732,9 @@ struct Class {
17321732
```
17331733

17341734
### 函数指针是 C 语言陋习,改掉
1735+
1736+
## 在 STL 算法模板库中的应用
1737+
1738+
### 标准库自带的运算符仿函数
1739+
1740+
TODO:`std::less`

0 commit comments

Comments
 (0)