Calling Functions A TutorialCalling Functions A Tutorial Klaus Iglberger, CppCon 2020 klaus.iglberger@gmx.de2 Klaus Iglberger C++ Trainer since 2016 Author of the C++ math library (Co-)Organizer of the Munich Template Specialization Virtual Dispatch Deleting Functions Name LookupCalling Functions A Tutorial Klaus Iglberger, CppCon 2020 klaus.iglberger@gmx.de0 码力 | 111 页 | 5.11 MB | 6 月前3
Effective Ranges: A tutorial for using C++2X rangesE�ective Ranges: A E�ective Ranges: A tutorial for using tutorial for using C++2x ranges C++2x ranges Je� Garland Je� Garland Created: 2023-10-03 Tue 08:50 1Intro Intro the beginning of the end –0 码力 | 56 页 | 15.30 MB | 6 月前3
Modern C++ Tutorial: C++11/14/17/20 On the FlyModern C++ Tutorial: C++11/14/17/20 On the Fly Changkun Ou (hi[at]changkun.de) Last update: May 7, 2023 Notice The content in this PDF file may outdated, please check our website or GitHub repository the Makefile is done by tabs. If you don’t know the use of Makefile, it doesn’t matter. In this tutorial, you won’t build code that is written too complicated. You can also read this book by simply using0 码力 | 92 页 | 1.79 MB | 1 年前3
simd: How to Express Inherent Parallelism Efficiently Via Data-Parallel TypesProcessing Programming Models Outlook Summary Goals and non-goals for this talk • This is not a tutorial! You won’t really know how to use the std::simd API after this talk. • I will have to scratch some loops with dependent interations. • Permutation API paper (authored by Intel) progressing in Library Evolution (LEWG). • That same paper also explores how to add gather & scatter primitives. like std::execution::unseq doesn’t compile (would fall back to seq anyway) • vir::execution::simd: another talk/paper… 22 25 28 211 214 217 220 0 0.2 0.4 0.6 0.8 1 size / (#values) throughput / (#values per cycle)0 码力 | 160 页 | 8.82 MB | 6 月前3
Libraries: A First Step Toward Standard C++ Dependency Managementadd_executable(Tutorial tutorial.cxx) target_link_libraries(Tutorial PUBLIC MathFunctions) % ninja -v … [3/6] c++ -DMYMATH_REQUIRED_FLAG … -c '/Users/hoffman/Work/My Builds/cmake/Help/guide/tutorial/Step3/tutorial /tutorial.cxx' … [6/6] : && /c++ … CMakeFiles/Tutorial.dir/tutorial.cxx.o -o Tutorial MathFunctions/libMathFunctions.a MathFunctions/libSqrtLibrary.a && :Library is treated the same: built-in source the logical next step in this evolution 59 ● Started in 2016 by Matthew Woehlke ● 2018: WG21 paper ● 2022: C++Now talk by Bret and Daniel ● 2022 CppCon hallway track with Conan, vcpkg and others0 码力 | 82 页 | 4.21 MB | 6 月前3
Reflection Based Libraries to Look Forward Tocan lean on consteval to avoid RTTI! Zero cost abstractions 21A new hope! P2996 22P2996 - the paper Wyatt Childers, Peter Dimov, Dan Katz, Barry Revzin, Andrew Sutton, Faisal Vali, Daveed Vandevoorde untyped type! 1 2 3 4 5 6 7 8 9 https://www.boost.org/doc/libs/1_66_0/libs/python/doc/html/tutorial/tutorial/object.html 79std::any had a dream // any type std::any a = 1; std::cout << a.type().name()0 码力 | 118 页 | 14.33 MB | 6 月前3
The Beauty and Power of Primitive C++standard • Look at WG21 documents to see what that takes: www.isocpp.org/std • Also §3.4 of my HOPL-4 paper: Thriving in a crowded and changing world: C++ 2006-2020. • It’s a design exercise to stimulate thought hidden design flaws • No thorough design document • Design decisions should be explicit • No tutorial • Are simple cases simple enough? • No thorough performance analysis • low-level “primitive”0 码力 | 53 页 | 1.03 MB | 6 月前3
Quickly Testing Qt Desktop Applications With Approval TestsChange Static is Smaller Change!18 Doing the Separation • For CMake, see Arne Mertz’s excellent tutorial: • arne-mertz.de/2018/05/hello-cmake/ • Remember to make the library static!19 Any Questions Automated GUI Testing – of your whole application – Semi-opaque-box testing • froglogic.com/squish – Commercial tool • Basics – Record actions in your application – Refactor in to reusable tests, e.g. in0 码力 | 77 页 | 6.96 MB | 6 月前3
Just-in-Time Compilation - J F Bastien - CppCon 2020my goal is to expand our minds regarding what’s possible with compilers. Let’s look at our first paper…A Brief History of Just-in-Time Software systems have been using “just-in-time” compilation (JiT) systems, and present a classification scheme for such systems. — 2003 Let’s start with our first paper.A Brief History of Just-in-Time Software systems have been using “just-in-time” compilation (JiT) present a classification scheme for such systems. — 2003 This is a great paper. If you read one paper, this is the paper. A big chunk of this presentation borrows from it. Notice, however, that it’s0 码力 | 111 页 | 3.98 MB | 6 月前3
Leveraging the Power of C++ for Efficient Machine Learning on Embedded Deviceswith 4 threads (MB) 93 320 32 / 50Hand gesture recognition 33 / 50Data ◮ Google MediaPipe’s Rock-Paper-Scissors dataset for hand gesture recognition ◮ Contains 125 images for each class ◮ Images have have various sizes ◮ Images have 3 color channels per pixel (RGB) ◮ Laurence Moroney’s Rock-Paper-Scissors dataset (published by Sani Kamal on Kaggle) ◮ Contains 964 images for each class split into training ◮ Images are 300x300 pixels ◮ Images have 3 color channels per pixel (RGB) 35 / 50Train a Rock-Paper-Scissors model ◮ Transfer learning from a ResNet50 model ◮ 80/20 split between training and validation0 码力 | 51 页 | 1.78 MB | 6 月前3
共 132 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
相关搜索词
CallingFunctionsTutorialEffectiveRangestutorialforusingC++2XrangesModern11141720OntheFlysimdHowtoExpressInherentParallelismEfficientlyViaDataParallelTypesLibrariesFirstStepTowardStandardDependencyManagementReflectionBasedLookForwardToTheBeautyandPowerofPrimitiveQuicklyTestingQtDesktopApplicationsWithApprovalTestsJustinTimeCompilationBastienCppCon2020LeveragingEfficientMachineLearningonEmbeddedDevices













