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
cmake_minimum_required(VERSION 3.5) | |
project(sdl2_test) | |
find_package(SDL2 REQUIRED) | |
find_package(OpenGL REQUIRED) | |
find_package(TBB REQUIRED) | |
add_executable(sdl2_test | |
main.cpp) |
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
#include "render_optix.h" | |
#include <algorithm> | |
#include <array> | |
#include <chrono> | |
#include <cstring> | |
#include <iostream> | |
#include <numeric> | |
#include <cuda.h> | |
#include <cuda_gl_interop.h> | |
#include <cuda_runtime_api.h> |
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
uniform int i = 0; | |
foreach_unique(b in blockID) { | |
unmasked { | |
i = i + 1; | |
} | |
} | |
print("unique blocks: %\n", i); |
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
#include <iostream> | |
#include <thread> | |
#include <chrono> | |
#include <sys/times.h> | |
#include <sys/time.h> | |
#include <sys/types.h> | |
#include <sys/resource.h> | |
#include <unistd.h> | |
#include <fstream> |
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
cmake_minimum_required(VERSION 3.5) | |
project(osp-transparency-bug) | |
set(CMAKE_CXX_STANDARD 14) | |
add_definitions(-DNOMINMAX) | |
find_package(ospray REQUIRED) | |
include_directories(${OSPRAY_INCLUDE_DIRS}) | |
add_executable(transparency-test transparency-test.cpp) |
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
#PBS -l nodes=22:ppn=32,pmem=2GB,walltime=00:10:00 | |
#PBS -N tray_rust | |
# It's assumed all binaries and files are on a shared filesystem | |
PROG=./target/release/tray_rust_wopr | |
WORK_DIR=/home/sci/will/Repos/tray_rust/ | |
DOWNLOADS=/home/sci/will/Downloads/ | |
SCENE=${DOWNLOADS}/material_test_scene.json | |
OUTPUT=${DOWNLOADS}/plastic.png | |
KEY=<path to ssh private key> |
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
{ | |
"film": { | |
"width": 1024, | |
"height": 1024, | |
"samples": 1024, | |
"frames": 1, | |
"start_frame": 0, | |
"end_frame": 0, | |
"scene_time": 0, | |
"filter" : { |
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
cmake_minimum_required(VERSION 3.0) | |
project(OspExample) | |
# To build provide the path to your osprayConfig.cmake included in the OSPRay | |
# releases to CMake as "-Dospray_DIR=<..>" | |
# and the path to the embreeConfig.cmake from the Embree releases similarly | |
# as "-Dembree_DIR=<..>" | |
find_package(ospray REQUIRED) | |
include_directories(${OSPRAY_INCLUDE_DIRS}) |
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
//===----------------------------------------------------------------------===// | |
// | |
// MipsTrax-specific intrinsics. | |
// This is at the end of the regular IntrinsicsMips.td file, these are the TRaX specific | |
// intrinsics | |
//===----------------------------------------------------------------------===// | |
def int_mips_atominc : Intrinsic<[llvm_i32_ty], [llvm_i32_ty]>; | |
def int_mips_invsqrt : Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; | |
def int_mips_printfmstr : Intrinsic<[], [llvm_ptrptr_ty]>; |
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
[root] | |
name = "bug_repr" | |
version = "0.0.1" | |
NewerOlder