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
### CMakeLists.txt for CUDA | |
cmake_minimum_required(VERSION 2.8) | |
find_package(CUDA QUIET REQUIRED) | |
# Pass options to NVCC | |
set( | |
CUDA_NVCC_FLAGS | |
${CUDA_NVCC_FLAGS}; | |
-O3 -gencode arch=compute_22,code=sm_22 |
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
""" | |
Título: Compresión de imágenes | |
Autor: Diego Crag | |
Fecha: 29/08/2023 | |
Descripción: Comprimir imágenes usando el método Transformada Discreta de Coseno (DCT) y su inversa | |
Versión: 2.1 | |
Este programa comprime una imagen dada a un formato mas pequeño de pixels | |
""" |
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
local bufname = "SingleTerminal" | |
-- Define term position and size | |
local splitconfig = "bot 20 new " | |
local jobid = -1 | |
local bufid = -1 | |
local terminal_opened_win_id = -1 | |
local function showTerm(wind_id) | |
terminal_opened_win_id = wind_id | |
vim.cmd(splitconfig .. "| buffer " .. bufname) |