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
[workspace] | |
members = [ | |
"gpu_pmt", | |
"gpu_pmt_test", | |
"native", | |
"shader/shader_common", | |
"shader/pmt_shader", | |
"shader/fft_shader", | |
"scanner_calibration_data", | |
"shader/pointcloud_render_shader", |
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
#[spirv(compute(threads(64)))] | |
pub fn phase_diff( | |
#[spirv(global_invocation_id)] id: UVec3, | |
#[spirv(uniform, descriptor_set = 0, binding = 0)] image_params: &ImageParams, | |
#[spirv(storage_buffer, descriptor_set = 1, binding = 0)] i0: &[u8], | |
#[spirv(storage_buffer, descriptor_set = 1, binding = 1)] i1: &[u8], | |
#[spirv(storage_buffer, descriptor_set = 1, binding = 2)] i2: &[u8], | |
#[spirv(storage_buffer, descriptor_set = 1, binding = 3)] i3: &[u8], | |
#[spirv(storage_buffer, descriptor_set = 2, binding = 0)] phase: &mut [Vec2], | |
) { |
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
Running unittests (target\release\deps\benchmarks-9b955bd9890f0d71.exe) | |
Gnuplot not found, using plotters backend | |
transfer_test_group/12 buffers (premapped) | |
time: [1.8924 ms 1.9466 ms 2.0062 ms] | |
thrpt: [17.523 GiB/s 18.060 GiB/s 18.578 GiB/s] | |
change: | |
time: [-4.4986% -1.0183% +2.8300%] (p = 0.59 > 0.05) | |
thrpt: [-2.7521% +1.0288% +4.7105%] | |
No change in performance detected. | |
Found 12 outliers among 100 measurements (12.00%) |
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
async fn maybe_watch_compute() -> wgpu::ShaderModuleDescriptor<'static> { | |
wgpu::include_spirv!(env!("some_shader.spv")) | |
} |
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
abigen!(WBNBContract, "https://api-testnet.bscscan.com/api?module=contract&action=getabi&address=0xae13d989dac2f0debff460ac112a837c89baa7cd&apikey=SW4QW2JXP54AXI4RZ823QX7VGVMYD2X87A&format=raw"); | |
#[tokio::main] | |
async fn main() -> Result<()> { | |
// connect to the network | |
let provider = Provider::<Http>::try_from("https://data-seed-prebsc-1-s1.binance.org:8545")?; | |
let chain = provider.get_chainid().await?; | |
let p = PathBuf::from_str("/home/user/projects/rust/bmc/wallet_ids").unwrap(); |
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
sbt nativeLink | |
[info] Loading global plugins from /home/someuser/.sbt/0.13/plugins | |
[info] Loading project definition from /home/someuser/Programmieren/Scala/scala-native-example/project | |
[info] Updating default:scala-native-example-build:0.1-SNAPSHOT | |
[info] Resolved default:scala-native-example-build:0.1-SNAPSHOT dependencies | |
[info] Fetching artifacts of default:scala-native-example-build:0.1-SNAPSHOT | |
[info] Fetched artifacts of default:scala-native-example-build:0.1-SNAPSHOT | |
[info] Set current project to scala-native-example (in build file:/home/someuser/Programmieren/Scala/scala-native-example/) | |
[info] Updating default:scala-native-example_2.11:0.1-SNAPSHOT | |
[info] Resolved default:scala-native-example_2.11:0.1-SNAPSHOT dependencies |
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
-- src/Scene/Object.hs:119:23: | |
-- Overlapping instances for Num (Exp Position) | |
-- arising from a use of ‘-’ | |
-- Matching instances: | |
-- instance (Elt t, IsNum t) => Num (Exp t) | |
-- -- Defined in ‘accelerate-2.0.0.0:Data.Array.Accelerate.Language’ | |
-- instance (Elt a, IsNum a) => Num (Exp (XYZ a)) -- Defined in ‘Vec3’ | |
-- In the first argument of ‘normalise’, namely | |
-- ‘((point - spherePos sphere) :: Exp Position)’ | |
-- In the expression: |
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
#ifndef LOCKEDSTREAM_H | |
#define LOCKEDSTREAM_H | |
/** | |
* Tuplegatherer and a LockedStream class as type safe | |
* wrappers over an ostream with a convenient API | |
* | |
*/ | |
#include <iostream> | |
#include <functional> |
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
stack solver | |
Asking cabal to calculate a build plan, please wait | |
Running /home/apriori/.stack/snapshots/x86_64-linux/lts-4.1/7.10.3/bin/cabal --config-file=/tmp/cabal-solver13025/cabal.config install --enable-tests --enable-benchmarks -v --dry-run --only-dependencies --reorder-goals --max-backjumps=-1 --package-db=clear --package-db=global "--constraint=accelerate +bounds-checks" "--constraint=accelerate +debug" "--constraint=accelerate -internal-checks" "--constraint=accelerate -unsafe-checks" "--constraint=accelerate-llvm +chase-lev" "--constraint=accelerate-llvm +debug" "--constraint=accelerate-llvm-native +debug" "--constraint=llvm-general +shared-llvm" /home/apriori/Programmieren/haskell/acc-test-april/ /home/apriori/Programmieren/haskell/acc-test-april/.stack-work/downloaded/a7bccc5806d48b539077fd190de4799d5d66db7fe8a695fd13c17ad622167d14/ /home/apriori/Programmieren/haskell/acc-test-april/.stack-work/downloaded/cbdf687ae252b879f50dbe5aac5ef2fc867318296c32a96a43fc013b97a2e994/ /home/apriori/Programmiere |
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
project(lamewavtomp3) | |
include(ExternalProject) | |
find_package (Threads) | |
cmake_minimum_required(VERSION 3.4.3 FATAL_ERROR) | |
aux_source_directory(. SRC_LIST) | |
add_executable(${PROJECT_NAME} ${SRC_LIST}) | |
target_include_directories(${PROJECT_NAME} |
NewerOlder