https://c2rsetup.officeapps.live.com/c2r/downloadVS.aspx?sku=community&channel=Stable&version=VS18
https://c2rsetup.officeapps.live.com/c2r/downloadVS.aspx?sku=enterprise&channel=Stable&version=VS18
| /* I spent an entire evening getting JIT debug symbols to work in GDB. | |
| * Here is a minimal example to get you started. | |
| * Have fun! | |
| */ | |
| #include <errno.h> | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> |
| Вопросы на rendering engineer Huawei | |
| - в чем разница между forward и deferred rendering? Какие плюсы и минусы у каждого из двух подходов (производительность / ограничения) | |
| - какие способы рендерить прозрачную геометрию вы знаете? | |
| - что такое алиасинг? Из-за чего он происходит? Какие есть алгоритмы антиалиасинга? Как реализован встроенный MSAA и чем он лучше SSAA? | |
| - как работает TAA и какие дефекты он вызывает? | |
| - как оптимально рисовать большое число объектов на экране? Какие есть способы отсечения? (на GPU и CPU) | |
| - как работает Kd-дерево, bvh, bsp? Какая у них асимптотика и от чего она зависит? | |
| - для чего нужны mip-уровни текстур и фильтрация текстур? |
| #include <tinyformat.h> | |
| #include <unwind.h> | |
| #include <cxxabi.h> | |
| #include <dlfcn.h> | |
| struct android_backtrace_state { | |
| void **current; | |
| void **end; | |
| }; |
| #include <glm/gtx/string_cast.hpp> | |
| .. | |
| .. | |
| glm::mat4 mat; | |
| .. | |
| .. | |
| std::cout << glm::to_string(mat) << std::endl; |
Hello, brethren :-)
As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".
| #pragma once | |
| // openvr.h | |
| //========= Copyright Valve Corporation ============// | |
| // Dynamically generated file. Do not modify this file directly. | |
| #ifndef _OPENVR_API | |
| #define _OPENVR_API | |
| #include <stdint.h> |
| update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20 | |
| update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10 | |
| update-alternatives --config ld | |
| ld --version | |
| GNU gold | |
| export CPP=cpp-5 gcc-5 g++-5 | |
| env CXXFLAGS='-march=native -flto -fuse-linker-plugin' cmake .. -DCMAKE_BUILD_TYPE=Release |
| # save it as /etc/profile.d/ssh-telegram.sh | |
| # use jq to parse JSON from ipinfo.io | |
| # get jq from here http://stedolan.github.io/jq/ | |
| USERID="<target_user_id>" | |
| KEY="<bot_private_key>" | |
| TIMEOUT="10" | |
| URL="https://api.telegram.org/bot$KEY/sendMessage" | |
| DATE_EXEC="$(date "+%d %b %Y %H:%M")" | |
| TMPFILE='/tmp/ipinfo-$DATE_EXEC.txt' | |
| if [ -n "$SSH_CLIENT" ]; then |
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):