This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// prfchwintrin.h | |
/*===---- prfchwintrin.h - PREFETCHW intrinsic -----------------------------=== | |
* | |
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
* See https://llvm.org/LICENSE.txt for license information. | |
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
* | |
*===-----------------------------------------------------------------------=== | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************************ | |
http://www.incompleteideas.net/ | |
http://www.incompleteideas.net/td-backprop-pseudo-code.text | |
Nonlinear TD/Backprop pseudo C-code | |
Written by Allen Bonde Jr. and Rich Sutton in April 1992. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://morestina.net/blog/1400/minimalistic-blocking-bounded-queue-for-c | |
template<typename T> | |
class queue { | |
std::deque<T> content; | |
size_t capacity; | |
std::mutex mutex; | |
std::condition_variable not_empty; | |
std::condition_variable not_full; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT License | |
// | |
// Copyright (c) 2019 degski | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: MIT License | |
:: | |
:: Copyright (c) 2019, 2020 degski | |
:: | |
:: Permission is hereby granted, free of charge, to any person obtaining a copy | |
:: of this software and associated documentation files (the "Software"), to deal | |
:: in the Software without restriction, including without limitation the rights | |
:: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
:: copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT License | |
// | |
// Copyright (c) 2019 degski | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT License | |
// | |
// Copyright (c) 2019 degski | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1>Stack dump: | |
1>0. Program arguments: C:\Program Files\LLVM\bin\clang-cl.exe -cc1 -triple x86_64-pc-windows-msvc19.16.27030 -emit-obj -mincremental-linker-compatible -disable-free -main-file-name main.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -menable-no-infs -menable-no-nans -menable-unsafe-fp-math -fno-signed-zeros -mreassociate -freciprocal-math -fno-trapping-math -ffp-contract=fast -ffast-math -ffinite-math-only -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu haswell -mllvm -x86-asm-syntax=intel -D_MT -flto-visibility-public-std --dependent-lib=libcmt --dependent-lib=oldnames -stack-protector 2 -fcxx-exceptions -fexceptions -fexternc-nounwind -fms-volatile -fdefault-calling-conv=cdecl -fdiagnostics-format msvc -dwarf-column-info -momit-leaf-frame-pointer -ffunction-sections -coverage-notes-file Y:\REPOS\gmp_random\gmp_random\main.gcno -resource-dir C:\Program Files\LLVM\lib\clang\9.0.0 -I y:\vcpkg\installed\x64-windows-static\include -D WIN64 -D NDEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Crash reproducer for clang version 9.0.0 (trunk) | |
# Driver args: "--driver-mode=cl" "-c" "-I" "y:\\vcpkg\\installed\\x64-windows-static\\include" "/nologo" "-Wall" "-Wno-error" "/diagnostics:classic" "/Ox" "/Oi" "-D" "WIN64" "-D" "NDEBUG" "-D" "_CONSOLE" "-D" "NOMINMAX" "-D" "MPPP_BUILD_STATIC_LIBRARY" "-D" "MPPP_STATIC" "-D" "MPPP_PUBLIC=" "-D" "_UNICODE" "-D" "UNICODE" "/EHsc" "/MT" "/GS" "-ffunction-sections" "/arch:AVX2" "-ffast-math" "/permissive-" "/std:c++17" "/FoY:\\REPOS\\gmp_random\\x64\\Release\\" "/Gd" "/TP" "-m64" "main.cpp" | |
# Original command: "C:\\Program Files\\LLVM\\bin\\clang-cl.exe" "-cc1" "-triple" "x86_64-pc-windows-msvc19.16.27030" "-emit-obj" "-mincremental-linker-compatible" "-disable-free" "-main-file-name" "main.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-relaxed-aliasing" "-menable-no-infs" "-menable-no-nans" "-menable-unsafe-fp-math" "-fno-signed-zeros" "-mreassociate" "-freciprocal-math" "-fno-trapping-math" "-ffp-contract=fast" "-ffast-math" "-ff |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 "<built-in>" | |
# 1 "main.cpp" | |
#if 0 /* expanded by -frewrite-includes */ | |
#include <cassert> | |
#endif /* expanded by -frewrite-includes */ | |
# 2 "main.cpp" | |
# 1 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\include\\cassert" 1 3 | |
// cassert standard header | |
// NOTE: no include guard |
NewerOlder