Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frei/device memory support #508

Open
wants to merge 50 commits into
base: devel
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
02997c6
fix wrong assert about maxTimeSegments.
freibold Sep 9, 2024
a503f23
fix missing sign-extension when using device memory for BVH data.
freibold Sep 18, 2024
cd6846e
BVH buffer in explicitly managed host/device memory on systems
freibold Sep 13, 2024
f5a4b9c
triangle geometry is now host/device, scene next
freibold Sep 26, 2024
539d966
All geom types work, spilling bug?
freibold Oct 16, 2024
b7a041f
compile fixes
freibold Oct 24, 2024
5c163b5
geometry data works
freibold Oct 28, 2024
160b9ca
add debug tutorial and restore state of other tutorials
freibold Oct 29, 2024
1b0ac5c
scene is now in device memory, too. USM shared memory is now only
freibold Nov 6, 2024
49ef39f
introduced read only handle RTCTraversable which is accessible on
freibold Nov 11, 2024
ef99300
memory passing interface
freibold Nov 18, 2024
bce7d2a
rework buffer interface
freibold Nov 22, 2024
6290555
test address sanitizer issue
freibold Nov 25, 2024
fe5839c
cleanups
freibold Nov 26, 2024
f6b5bb1
do not use ALIGNED_STRUCT_ macro for Scene and Geometry
freibold Nov 26, 2024
475f7f1
port of multi_instanced_geometry tutorial to RTCTraversable
freibold Nov 26, 2024
9d14cd8
port forest tutorial to new host/device memory support
freibold Nov 27, 2024
094b4b7
change API naming for buffers form 'Ex' to 'HostDevice'
freibold Nov 27, 2024
e65098d
add ISPC API using RTCTraversable
freibold Nov 29, 2024
3cd3f2f
create CPP from ISPC tutorials
freibold Nov 29, 2024
92c5f4d
add padding to tree vertex and color data buffers for safe SIMD
freibold Dec 2, 2024
0611461
small fix for validation API
freibold Dec 2, 2024
8c32f18
less alloc/free when creating device representation of scenen/geometry
freibold Dec 4, 2024
ac3d1c3
add sycl events for sychronization
freibold Dec 5, 2024
a5b7df0
add cmake option for explicit host/device BVH data
freibold Dec 5, 2024
b868759
clear host scratch space for static scenes
freibold Dec 5, 2024
94aa2e6
rename host_device_memory tutorial and add CI tests
freibold Dec 5, 2024
381e713
refactor alloc. remove global (tls) SYCL context and device.
freibold Dec 9, 2024
fd6a57a
add nightly Windows multilevel test.
freibold Dec 9, 2024
6261729
update documentation for RTCBuffer
freibold Dec 9, 2024
365d71a
fix wrong deallocation in multi_instance_geometry tutorial.
freibold Dec 9, 2024
0b0626d
update rtcSet(New|Shared)GeometryBuffer(|HostDevice) documentation
freibold Dec 10, 2024
5064047
update rtcCommitScene(|WithQueue) documentation
freibold Dec 10, 2024
3f6f6b5
rename memory types and account for host unified memory in buffer con…
freibold Dec 11, 2024
f97e8c5
revert accidental changes in ray flag settings
freibold Dec 11, 2024
54157fa
docu fixes
freibold Dec 11, 2024
ae21235
change rtcCommit???WithQueue interface to return sycl::event
freibold Dec 11, 2024
26771b1
make rtcCommitSceneWithQueue work with out-of-order SYCL queues, too
freibold Dec 11, 2024
9219fa3
updating general intro documentation
freibold Dec 11, 2024
6482924
documentation for ray queries using RTCTraversable
freibold Dec 11, 2024
e40bef0
more general documentation
freibold Dec 11, 2024
0e25353
add export filters for commit with queue API functions
freibold Dec 11, 2024
8dac949
add CI test for BVH data in host device memory
freibold Dec 11, 2024
a56ac13
test new ICX version
freibold Dec 11, 2024
cdf70a7
changelog, typos
freibold Dec 11, 2024
0e2e3a5
update internal Linux and Window driver in CI
freibold Dec 11, 2024
9950968
remove timing output from dynamic scene tutorial
freibold Dec 13, 2024
76f8c1f
fix issues with host/device memory API on iGPU
freibold Dec 13, 2024
13c62b6
fix blender segfault with geometry == NULL inside geometries array
dopitz Dec 16, 2024
2b5ddc2
preparations for merge
dopitz Jan 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove timing output from dynamic scene tutorial
  • Loading branch information
freibold committed Dec 13, 2024
commit 99509688af79b80086caae76c526c9753c2a19a4
10 changes: 0 additions & 10 deletions tutorials/dynamic_scene/dynamic_scene_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,26 +319,16 @@ extern "C" void device_render (int* pixels,
const float time,
const ISPCCamera& camera)
{
auto start_animate = std::chrono::high_resolution_clock::now();
/* animate sphere */
for (int i=0; i<data.numSpheres; i++)
animateSphere(i,time+i);
auto end_animate = std::chrono::high_resolution_clock::now();

/* commit changes to scene */
auto start_commit = std::chrono::high_resolution_clock::now();
#if defined(EMBREE_SYCL_TUTORIAL)
rtcCommitSceneWithQueue (data.g_scene, *global_gpu_queue);
#else
rtcCommitScene (data.g_scene);
#endif
auto end_commit = std::chrono::high_resolution_clock::now();

auto duration_animate = std::chrono::duration_cast<std::chrono::milliseconds>(end_animate - start_animate);
auto duration_commit = std::chrono::duration_cast<std::chrono::milliseconds>(end_commit - start_commit);

std::cout << "animate took " << duration_animate.count() << " milliseconds to execute." << std::endl;
std::cout << "commit took " << duration_commit.count() << " milliseconds to execute." << std::endl;
data.g_traversable = rtcGetSceneTraversable(data.g_scene);
}

Expand Down
Loading