sudo apt update && sudo apt upgrade
- You already have access to github's Copilot (Copilot Chat is not yet available for neovim as of Mar 22nd 2023).
- Ubuntu 20.04+ (should work for other Debian distros as well).
- If you were using vim before, that your
.vimrc
does not rely on features that are not supported by neovim. I use powerline and YouCompleteme for vim, which don't vibe with neovim, so I had to make a couple of changes to my.vimrc
. Take a look at this commit for an example on how to do that.
This file contains hidden or 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
Usage: evaluate a ternary bitwise function with the values a=0xf0, b=0xcc, c=0xaa. | |
On AVX-512 you can pass the result directly to VPTERNLOGD. On other platforms, | |
look up the value in the following tables to find a short, equivalent sequence of | |
operations. | |
For A64/SVE/Neon see https://gist.github.com/dougallj/10c3ffdbd07229db2cc8b0430d7ccd39 | |
The tables here are: | |
* agx: "not" and all binary operations (as used in Apple GPUs, but possibly useful elsewhere): |
This file contains hidden or 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
echo "Downloading gcc source files..." | |
curl https://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2 -O | |
echo "extracting files..." | |
tar xvfj gcc-5.4.0.tar.bz2 | |
echo "Installing dependencies..." | |
yum install gmp-devel mpfr-devel libmpc-devel | |
echo "Configure and install..." |
How do I dropdown?
This is how you dropdown.
<details> <summary>How do I dropdown?</summary> <br> This is how you dropdown.
This file contains hidden or 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
#include <cstdio> | |
#include <list> | |
#include <vector> | |
#include "zip.h" | |
int main() { | |
std::vector<int> one{{1, 11}}; | |
auto two = [] { return std::vector<short>{{2, 22}}; }; | |
const std::list<float> three{{3, 33}}; |
This file contains hidden or 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
# Geany's snippets configuration file | |
# | |
# use \n or %newline% for a new line (it will be replaced by the used EOL char(s) - LF, CR/LF, CR). | |
# use \t or %ws% for an indentation step, it will be replaced according to the current document's indent mode. | |
# use \s to force whitespace at beginning or end of a value ('key= value' won't work, use 'key=\svalue'). | |
# use %key% for all keys defined in the [Special] section. | |
# use %cursor% to define where the cursor should be placed after completion. You can define multiple | |
# %cursor% wildcards and use the "Move cursor in snippet" to jump to the next defined cursor | |
# position in the completed snippet. | |
# You can define a section for each supported filetype to overwrite default settings, the section |
In general, check the crt/host_config.h
file to find out which versions are supported.
Sometimes it is possible to hack the requirements there to get some newer versions working, too :)
Thrust version can be found in $CUDA_ROOT/include/thrust/version.h
.
Download Archives: https://developer.nvidia.com/cuda-toolkit-archive
Release notes for CUDA Toolkit (CTK):
NewerOlder