sudo apt-get install -y zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
import triton | |
import triton.language as tl | |
import triton.compiler as tc | |
from triton.backends.compiler import GPUTarget | |
@triton.jit | |
def type_convert_triton(src, dst, rounding : tl.constexpr, BLOCK_SIZE : tl.constexpr): | |
idxs = tl.program_id(0) * BLOCK_SIZE + tl.arange(0, BLOCK_SIZE) | |
x = tl.load(src + idxs) |
setenv SHELL /usr/bin/zsh | |
exec /usr/bin/zsh -l |
{ | |
// Place your snippets for cpp here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |
{ | |
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and | |
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope | |
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is | |
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. | |
// Placeholders with the same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "scope": "javascript,typescript", |
{ | |
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |
filter_mode = "host" | |
filter_mode_shell_up_key_binding = "session" |
local wezterm = require 'wezterm' | |
local act = wezterm.action | |
local config = {} | |
if wezterm.config_builder then | |
config = wezterm.config_builder() | |
end | |
config.color_scheme = 'Bamboo' |
bindkey "^[[1;3C" forward-word | |
bindkey "^[[1;3D" backward-word | |
bindkey '^H' backward-kill-word |
#Requires AutoHotkey v2.0 | |
LAlt::LCtrl | |
LCtrl::LAlt |