Vulkan is a low-overhead, cross-platform 3D graphics and compute API.
Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.
#! /usr/bin/env python | |
import sys | |
import os | |
#import gevent | |
def convert_to_mp4(path, new_filename, old_filename): | |
threads = 4 | |
os.chdir(path) |
<form action="<%= action %>" method="post"> | |
<% if (fields.length) { %> | |
<% fields.forEach(function(field){ %> | |
<label><%= field.name %></label> | |
<input type="<%= field.type %>" name="<%= field.name %>" <% if (field.property) { %> <%= field.property %> <% } %> > | |
<% }) %> | |
<% } %> | |
<button type="submit"><%= title %></button> <!--Title for button is same as that of the page--> |
// For stackoverflow question: | |
// http://stackoverflow.com/questions/30445801/ios8-metal-compute-pipeline-slower-than-cpu | |
// I. CODE INVOKED ONCE, AT THE INIT STAGE: | |
_mtlCharTable = [_mtlDevice newBufferWithBytes:_charTable->pointer length:_charTable->bytesTotal options:0]; | |
_mtlSearchMasks = [_mtlDevice newBufferWithBytesNoCopy:_searchIndexes.mask length:_searchIndexes.bytesTotalMask options:0 deallocator:nil]; | |
//iPhone 6: maxTotalThreadsPerThreadgroup: 512, threadExecutionWidth: 32 | |
uint threadsPerThreadGroup = [_mtlComputePipelineState maxTotalThreadsPerThreadgroup];// / 4.0; |
module.exports = function (app) { | |
var _ = require('lodash'); | |
var User = app.models.User; | |
var Role = app.models.Role; | |
var RoleMapping = app.models.RoleMapping; | |
var ACL = app.models.ACL; | |
/* | |
* Configure ACL's | |
*/ |
--[[ | |
Youtube playlist importer for VLC media player 1.1 and 2.0 | |
Copyright 2012 Guillaume Le Maout | |
Authors: Guillaume Le Maout | |
Contact: http://addons.videolan.org/messages/?action=newmessage&username=exebetche | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or |
#!/bin/bash | |
### steps #### | |
# Verify the system has a cuda-capable gpu | |
# Download and install the nvidia cuda toolkit and cudnn | |
# Setup environmental variables | |
# Verify the installation | |
### | |
### to verify your gpu is cuda enable check |