It's correct vfio configuration for GPU Passthrough, you will need to change ids to your GPU pci slot.
sudo dnf group install virtualization
dmesg | grep IOMMU
| WITH table_scans as ( | |
| SELECT relid, | |
| tables.idx_scan + tables.seq_scan as all_scans, | |
| ( tables.n_tup_ins + tables.n_tup_upd + tables.n_tup_del ) as writes, | |
| pg_relation_size(relid) as table_size | |
| FROM pg_stat_user_tables as tables | |
| ), | |
| all_writes as ( | |
| SELECT sum(writes) as total_writes | |
| FROM table_scans |
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') | |
| { | |
| Import-Module PSReadLine | |
| } | |
| #Import-Module PSColors | |
| #Import-Module posh-git | |
| Import-Module -Name Terminal-Icons |
| { | |
| "final_space": true, | |
| "console_title": true, | |
| "console_title_style": "folder", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "horizontal_offset": 0, | |
| "vertical_offset": 0, |
npm init
npm i --save-dev @types/node \
@types/jest \
@typescript-eslint/eslint-plugin \
@typescript-eslint/eslint-plugin-tslint \
@typescript-eslint/parser \
coveralls \
eslint \
jest \| cmake_minimum_required(VERSION 3.10) | |
| project(NodeProject) | |
| set(CMAKE_CXX_STANDARD 17) | |
| file(READ $ENV{HOME}/.nvm/alias/default NODE_VER) | |
| string(STRIP ${NODE_VER} NODE_VER) | |
| set(LIBUV_VER "1.20.0") | |
| set(LIBUV_PATH "/usr/local/Cellar/libuv/${LIBUV_VER}") |
| "use strict"; | |
| const util = require('util'); | |
| const AWS = require("aws-sdk"); | |
| /** | |
| * Deploy env | |
| * @param event | |
| * @param context | |
| * @param callback | |
| * Example of params |
| @Path("/{partner}/sync") | |
| @Produces(MediaType.APPLICATION_JSON) | |
| public class SyncResource { | |
| @PathParam("partner") String partner; | |
| @Inject SyncService syncService; |
| import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTypeConverter; | |
| import com.amazonaws.services.dynamodbv2.document.internal.InternalUtils; | |
| import com.amazonaws.services.dynamodbv2.model.AttributeValue; | |
| import java.util.Map; | |
| public class DynamicStructure implements DynamoDBTypeConverter<Map<String, AttributeValue>, Map<String, Object>> { | |
| @Override | |
| public Map<String, AttributeValue> convert(Map<String, Object> object) { |