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

Always Disable RT_BUFFER_GPU_LOCAL #40

Merged
merged 2 commits into from
Sep 22, 2019
Merged

Always Disable RT_BUFFER_GPU_LOCAL #40

merged 2 commits into from
Sep 22, 2019

Conversation

gam0022
Copy link
Owner

@gam0022 gam0022 commented Sep 21, 2019

複数GPU環境だと RT_BUFFER_GPU_LOCAL は問題が起きるようでした…

RTX2070 1枚 や p3.2xlarge だと全く問題ないのに、p3.16xlarge だと一部しか描画されませんでした。

GitHubにアップロード用にファイルを縮小するために 4K解像度からFullHD 解像度に 50% リサイズ

mogrify -resize 50% *.png

検証環境: p3.16xlarge

bofore(レイトレ合宿7 提出版)--debug 1回目

output

output

output png_albedo

output png_albedo

output png_liner

output png_liner

output png_normal

output png_normal

output png_original

output png_original

output.log

[info] total_time: 79.5578 sec.
[info] total_sample: 16

output.log

[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cow.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 53 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:4.45208e-07	delta_time_per_sample:1.11302e-07	used_time:46.5242	remain_time:6.47579	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:3.47416	delta_time_per_sample:0.868541	used_time:49.9984	remain_time:3.00162	sample:4	frame_number:2
[info] chnage sample_per_launch: 3 to 3
[info] chnage sample_per_launch: 3 to 1
loop:2	sample_per_launch	:1	delta_time:0.254855	delta_time_per_sample:0.254855	used_time:50.2532	remain_time:2.74677	sample:5	frame_number:3
loop:3	sample_per_launch	:1	delta_time:0.244033	delta_time_per_sample:0.244033	used_time:50.4973	remain_time:2.50274	sample:6	frame_number:4
loop:4	sample_per_launch	:1	delta_time:0.250411	delta_time_per_sample:0.250411	used_time:50.7477	remain_time:2.25233	sample:7	frame_number:5
loop:5	sample_per_launch	:1	delta_time:0.257982	delta_time_per_sample:0.257982	used_time:51.0057	remain_time:1.99434	sample:8	frame_number:6
loop:6	sample_per_launch	:1	delta_time:0.257754	delta_time_per_sample:0.257754	used_time:51.2634	remain_time:1.73659	sample:9	frame_number:7
loop:7	sample_per_launch	:1	delta_time:0.248163	delta_time_per_sample:0.248163	used_time:51.5116	remain_time:1.48843	sample:10	frame_number:8
loop:8	sample_per_launch	:1	delta_time:0.242698	delta_time_per_sample:0.242698	used_time:51.7543	remain_time:1.24573	sample:11	frame_number:9
loop:9	sample_per_launch	:1	delta_time:0.244708	delta_time_per_sample:0.244708	used_time:51.999	remain_time:1.00102	sample:12	frame_number:10
loop:10	sample_per_launch	:1	delta_time:0.242921	delta_time_per_sample:0.242921	used_time:52.2419	remain_time:0.758101	sample:13	frame_number:11
loop:11	sample_per_launch	:1	delta_time:0.242243	delta_time_per_sample:0.242243	used_time:52.4841	remain_time:0.515857	sample:14	frame_number:12
loop:12	sample_per_launch	:1	delta_time:0.256726	delta_time_per_sample:0.256726	used_time:52.7409	remain_time:0.259131	sample:15	frame_number:13
[info] reached time limit! used_time: 52.7409 sec. remain_time: 0.259131 sec.
[info] total_time: 79.5578 sec.
[info] total_sample: 16

rtcamp7.bat

.\redflash.exe -f output.png -W 3840 -H 2160 -t 53 -A 1.0 -S 4 --denoise_mode 2 --debug > output.txt

bofore(レイトレ合宿7 提出版)--debug 2回目

output

output png_albedo

output png_liner

output png_normal

output png_original

output.log

[info] total_time: 78.2971 sec.
[info] total_sample: 124

output.log

[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cow.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 53 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:4.45208e-07	delta_time_per_sample:1.11302e-07	used_time:31.3158	remain_time:21.6842	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:3.21881	delta_time_per_sample:0.804701	used_time:34.5346	remain_time:18.4654	sample:4	frame_number:2
[info] chnage sample_per_launch: 22 to 22
loop:2	sample_per_launch	:22	delta_time:3.18106	delta_time_per_sample:0.144594	used_time:37.7157	remain_time:15.2843	sample:26	frame_number:3
loop:3	sample_per_launch	:22	delta_time:3.20998	delta_time_per_sample:0.145908	used_time:40.9256	remain_time:12.0744	sample:48	frame_number:4
loop:4	sample_per_launch	:22	delta_time:3.20838	delta_time_per_sample:0.145835	used_time:44.134	remain_time:8.86598	sample:70	frame_number:5
loop:5	sample_per_launch	:22	delta_time:3.18738	delta_time_per_sample:0.144881	used_time:47.3214	remain_time:5.6786	sample:92	frame_number:6
loop:6	sample_per_launch	:22	delta_time:3.20014	delta_time_per_sample:0.145461	used_time:50.5215	remain_time:2.47846	sample:114	frame_number:7
[info] chnage sample_per_launch: 22 to 1
loop:7	sample_per_launch	:1	delta_time:0.25394	delta_time_per_sample:0.25394	used_time:50.7755	remain_time:2.22452	sample:115	frame_number:8
loop:8	sample_per_launch	:1	delta_time:0.24647	delta_time_per_sample:0.24647	used_time:51.0219	remain_time:1.97805	sample:116	frame_number:9
loop:9	sample_per_launch	:1	delta_time:0.251277	delta_time_per_sample:0.251277	used_time:51.2732	remain_time:1.72677	sample:117	frame_number:10
loop:10	sample_per_launch	:1	delta_time:0.257913	delta_time_per_sample:0.257913	used_time:51.5311	remain_time:1.46886	sample:118	frame_number:11
loop:11	sample_per_launch	:1	delta_time:0.249356	delta_time_per_sample:0.249356	used_time:51.7805	remain_time:1.21951	sample:119	frame_number:12
loop:12	sample_per_launch	:1	delta_time:0.259123	delta_time_per_sample:0.259123	used_time:52.0396	remain_time:0.960383	sample:120	frame_number:13
loop:13	sample_per_launch	:1	delta_time:0.247755	delta_time_per_sample:0.247755	used_time:52.2874	remain_time:0.712628	sample:121	frame_number:14
loop:14	sample_per_launch	:1	delta_time:0.25892	delta_time_per_sample:0.25892	used_time:52.5463	remain_time:0.453708	sample:122	frame_number:15
loop:15	sample_per_launch	:1	delta_time:0.24774	delta_time_per_sample:0.24774	used_time:52.794	remain_time:0.205968	sample:123	frame_number:16
[info] reached time limit! used_time: 52.794 sec. remain_time: 0.205968 sec.
[info] total_time: 78.2971 sec.
[info] total_sample: 124

RT_BUFFER_GPU_LOCAL 無効 --debug

output

output

output png_albedo

output png_albedo

output png_liner

output png_liner

output png_normal

output png_normal

output png_original

output png_original

output.log

[info] final_frame_rendering: 16.7169 sec.
[info] save_png: output.png 2.63262 sec.
[info] total_time: 81.9959 sec.
[info] total_sample: 129

output.log

[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cow.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.3\redflash_submit/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 53 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] last_frame_scale: 1.7
[info] tonemap_exposure: 2.5
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:8.45895e-06	delta_time_per_sample:2.11474e-06	used_time:30.58	remain_time:22.42	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:3.2099	delta_time_per_sample:0.802475	used_time:33.79	remain_time:19.21	sample:4	frame_number:2
[info] chnage sample_per_launch: 23 to 23
loop:2	sample_per_launch	:23	delta_time:3.32883	delta_time_per_sample:0.144732	used_time:37.1188	remain_time:15.8812	sample:27	frame_number:3
loop:3	sample_per_launch	:23	delta_time:3.33311	delta_time_per_sample:0.144918	used_time:40.4519	remain_time:12.5481	sample:50	frame_number:4
loop:4	sample_per_launch	:23	delta_time:3.31678	delta_time_per_sample:0.144208	used_time:43.7687	remain_time:9.23132	sample:73	frame_number:5
loop:5	sample_per_launch	:23	delta_time:3.3303	delta_time_per_sample:0.144795	used_time:47.099	remain_time:5.90102	sample:96	frame_number:6
loop:6	sample_per_launch	:23	delta_time:3.34324	delta_time_per_sample:0.145358	used_time:50.4422	remain_time:2.55778	sample:119	frame_number:7
[info] chnage sample_per_launch: 23 to 1
loop:7	sample_per_launch	:1	delta_time:0.256973	delta_time_per_sample:0.256973	used_time:50.6992	remain_time:2.30081	sample:120	frame_number:8
loop:8	sample_per_launch	:1	delta_time:0.245829	delta_time_per_sample:0.245829	used_time:50.945	remain_time:2.05498	sample:121	frame_number:9
loop:9	sample_per_launch	:1	delta_time:0.260833	delta_time_per_sample:0.260833	used_time:51.2059	remain_time:1.79415	sample:122	frame_number:10
loop:10	sample_per_launch	:1	delta_time:0.247532	delta_time_per_sample:0.247532	used_time:51.4534	remain_time:1.54661	sample:123	frame_number:11
loop:11	sample_per_launch	:1	delta_time:0.24289	delta_time_per_sample:0.24289	used_time:51.6963	remain_time:1.30372	sample:124	frame_number:12
loop:12	sample_per_launch	:1	delta_time:0.255104	delta_time_per_sample:0.255104	used_time:51.9514	remain_time:1.04862	sample:125	frame_number:13
loop:13	sample_per_launch	:1	delta_time:0.253042	delta_time_per_sample:0.253042	used_time:52.2044	remain_time:0.795577	sample:126	frame_number:14
loop:14	sample_per_launch	:1	delta_time:0.254427	delta_time_per_sample:0.254427	used_time:52.4588	remain_time:0.54115	sample:127	frame_number:15
loop:15	sample_per_launch	:1	delta_time:0.254961	delta_time_per_sample:0.254961	used_time:52.7138	remain_time:0.286189	sample:128	frame_number:16
[info] reached time limit! used_time: 52.7138 sec. remain_time: 0.286189 sec.
[info] final_frame_rendering: 16.7169 sec.
[info] save_png: output.png	2.63262 sec.
[info] save_png: output.png_original.png	2.68016 sec.
[info] save_png: output.png_albedo.png	0.792141 sec.
[info] save_png: output.png_normal.png	2.79023 sec.
[info] save_png: output.png_liner.png	2.38544 sec.
[info] total_time: 81.9959 sec.
[info] total_sample: 129

検証環境: RTX2070

bofore(レイトレ合宿7 提出版)--debug

output.log

[info] total_time: 68.2637 sec.
[info] total_sample: 22

output.log

[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/cuda/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/cow.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 53 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:1.00001e-07	delta_time_per_sample:2.50002e-08	used_time:2.15259	remain_time:50.8474	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:10.0326	delta_time_per_sample:2.50815	used_time:12.1852	remain_time:40.8148	sample:4	frame_number:2
[info] chnage sample_per_launch: 16 to 16
loop:2	sample_per_launch	:16	delta_time:40.9948	delta_time_per_sample:2.56218	used_time:53.18	remain_time:-0.180021	sample:20	frame_number:3
[info] chnage sample_per_launch: 16 to 1
loop:3	sample_per_launch	:1	delta_time:2.73282	delta_time_per_sample:2.73282	used_time:55.9128	remain_time:-2.91284	sample:21	frame_number:4
[info] reached time limit! used_time: 55.9128 sec. remain_time: -2.91284 sec.
[info] total_time: 68.2637 sec.
[info] total_sample: 22

RT_BUFFER_GPU_LOCAL 無効 --debug

output.log

[info] final_frame_rendering: 4.5274 sec.
[info] save_png: output.png 1.62638 sec.
[info] save_png: output.png_original.png 1.67372 sec.
[info] save_png: output.png_albedo.png 0.549066 sec.
[info] save_png: output.png_normal.png 1.83458 sec.
[info] save_png: output.png_liner.png 1.48248 sec.
[info] total_time: 63.6992 sec.
[info] total_sample: 24

output.log

[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/cuda/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/cow.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 53 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] last_frame_scale: 1.7
[info] tonemap_exposure: 2.5
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:1.90001e-06	delta_time_per_sample:4.75004e-07	used_time:1.91082	remain_time:51.0892	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:9.10794	delta_time_per_sample:2.27699	used_time:11.0188	remain_time:41.9812	sample:4	frame_number:2
[info] chnage sample_per_launch: 18 to 18
loop:2	sample_per_launch	:18	delta_time:38.4346	delta_time_per_sample:2.13525	used_time:49.4533	remain_time:3.54667	sample:22	frame_number:3
[info] chnage sample_per_launch: 18 to 1
loop:3	sample_per_launch	:1	delta_time:2.36002	delta_time_per_sample:2.36002	used_time:51.8133	remain_time:1.18665	sample:23	frame_number:4
[info] reached time limit! used_time: 51.8133 sec. remain_time: 1.18665 sec.
[info] final_frame_rendering: 4.5274 sec.
[info] save_png: output.png	1.62638 sec.
[info] save_png: output.png_original.png	1.67372 sec.
[info] save_png: output.png_albedo.png	0.549066 sec.
[info] save_png: output.png_normal.png	1.83458 sec.
[info] save_png: output.png_liner.png	1.48248 sec.
[info] total_time: 63.6992 sec.
[info] total_sample: 24

@gam0022
Copy link
Owner Author

gam0022 commented Sep 21, 2019

RT_BUFFER_GPU_LOCAL 無効 --debug

マルチGPUのインスタンスだとデノイズが凄い遅い可能性がある。

label RTX2070 p3.16xlarge p3.2xlarge
final_frame_rendering 4.5274 16.7169 ?
total_sample 24 129 ?
save_png: output.png 1.62638 2.63262 ?
delta_time_per_sample 2.13525 0.145358 ?

また、p3.16xlarge だと初回のレンダリングとそれ以降で性能が大きく変化するため、 sample_per_launch の推定に失敗している可能性が高い。

  • 1回目のlaunch: delta_time_per_sample:0.802475
  • 2回目のlaunch: delta_time_per_sample:0.144732

@gam0022
Copy link
Owner Author

gam0022 commented Sep 21, 2019

bofore(レイトレ合宿7 提出版)v3.2

RTX2070

[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/cuda/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/cow.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash_submit\redflash_submit_v3.2\redflash_submit/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 53 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:1.00001e-07	delta_time_per_sample:2.50002e-08	used_time:1.68508	remain_time:51.3149	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:8.6445	delta_time_per_sample:2.16113	used_time:10.3296	remain_time:42.6704	sample:4	frame_number:2
[info] chnage sample_per_launch: 19 to 19
loop:2	sample_per_launch	:19	delta_time:39.4167	delta_time_per_sample:2.07456	used_time:49.7463	remain_time:3.25373	sample:23	frame_number:3
[info] chnage sample_per_launch: 19 to 1
loop:3	sample_per_launch	:1	delta_time:2.2406	delta_time_per_sample:2.2406	used_time:51.9869	remain_time:1.01313	sample:24	frame_number:4
[info] reached time limit! used_time: 51.9869 sec. remain_time: 1.01313 sec.
[info] total_time: 57.5832 sec.
[info] total_sample: 25

p3.16xlarge

[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/cuda/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/cow.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.2\redflash_submit/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 53 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:4.45208e-07	delta_time_per_sample:1.11302e-07	used_time:31.6005	remain_time:21.3995	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:4.14819	delta_time_per_sample:1.03705	used_time:35.7487	remain_time:17.2513	sample:4	frame_number:2
[info] chnage sample_per_launch: 16 to 16
loop:2	sample_per_launch	:16	delta_time:2.3564	delta_time_per_sample:0.147275	used_time:38.1051	remain_time:14.8949	sample:20	frame_number:3
loop:3	sample_per_launch	:16	delta_time:2.35733	delta_time_per_sample:0.147333	used_time:40.4624	remain_time:12.5376	sample:36	frame_number:4
loop:4	sample_per_launch	:16	delta_time:2.36796	delta_time_per_sample:0.147998	used_time:42.8304	remain_time:10.1696	sample:52	frame_number:5
loop:5	sample_per_launch	:16	delta_time:2.36478	delta_time_per_sample:0.147798	used_time:45.1952	remain_time:7.80482	sample:68	frame_number:6
loop:6	sample_per_launch	:16	delta_time:2.35611	delta_time_per_sample:0.147257	used_time:47.5513	remain_time:5.44871	sample:84	frame_number:7
loop:7	sample_per_launch	:16	delta_time:2.3652	delta_time_per_sample:0.147825	used_time:49.9165	remain_time:3.08351	sample:100	frame_number:8
loop:8	sample_per_launch	:16	delta_time:2.35969	delta_time_per_sample:0.147481	used_time:52.2762	remain_time:0.723821	sample:116	frame_number:9
[info] chnage sample_per_launch: 16 to 1
loop:9	sample_per_launch	:1	delta_time:0.251925	delta_time_per_sample:0.251925	used_time:52.5281	remain_time:0.471896	sample:117	frame_number:10
loop:10	sample_per_launch	:1	delta_time:0.256854	delta_time_per_sample:0.256854	used_time:52.785	remain_time:0.215043	sample:118	frame_number:11
[info] reached time limit! used_time: 52.785 sec. remain_time: 0.215043 sec.
[info] total_time: 73.2876 sec.
[info] total_sample: 119

p3.2xlarge

[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/cuda/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/cow.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\Administrator\Desktop\redflash_submit_v3.1\redflash_submit/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 54 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:4.45207e-07	delta_time_per_sample:1.11302e-07	used_time:10.469	remain_time:43.531	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:6.31536	delta_time_per_sample:1.57884	used_time:16.7843	remain_time:37.2157	sample:4	frame_number:2
[info] chnage sample_per_launch: 23 to 23
loop:2	sample_per_launch	:23	delta_time:25.1935	delta_time_per_sample:1.09537	used_time:41.9778	remain_time:12.0222	sample:27	frame_number:3
[info] chnage sample_per_launch: 23 to 1
loop:3	sample_per_launch	:1	delta_time:1.18293	delta_time_per_sample:1.18293	used_time:43.1608	remain_time:10.8392	sample:28	frame_number:4
loop:4	sample_per_launch	:1	delta_time:1.26605	delta_time_per_sample:1.26605	used_time:44.4268	remain_time:9.5732	sample:29	frame_number:5
loop:5	sample_per_launch	:1	delta_time:1.23446	delta_time_per_sample:1.23446	used_time:45.6613	remain_time:8.33873	sample:30	frame_number:6
loop:6	sample_per_launch	:1	delta_time:1.28691	delta_time_per_sample:1.28691	used_time:46.9482	remain_time:7.05182	sample:31	frame_number:7
loop:7	sample_per_launch	:1	delta_time:1.27338	delta_time_per_sample:1.27338	used_time:48.2216	remain_time:5.77844	sample:32	frame_number:8
loop:8	sample_per_launch	:1	delta_time:1.26999	delta_time_per_sample:1.26999	used_time:49.4916	remain_time:4.50845	sample:33	frame_number:9
loop:9	sample_per_launch	:1	delta_time:1.26634	delta_time_per_sample:1.26634	used_time:50.7579	remain_time:3.24211	sample:34	frame_number:10
loop:10	sample_per_launch	:1	delta_time:1.24969	delta_time_per_sample:1.24969	used_time:52.0076	remain_time:1.99242	sample:35	frame_number:11
loop:11	sample_per_launch	:1	delta_time:1.26821	delta_time_per_sample:1.26821	used_time:53.2758	remain_time:0.724212	sample:36	frame_number:12
[info] reached time limit! used_time: 53.2758 sec. remain_time: 0.724212 sec.
[info] total_time: 60.1268 sec.
[info] total_sample: 37

@gam0022
Copy link
Owner Author

gam0022 commented Sep 21, 2019

bofore(レイトレ合宿7 提出版)v3.2

p3.16xlarge だけ、デノイズに時間がかかっている…

label RTX2070 p3.16xlarge p3.2xlarge
total_sample 25 119 37
total_time 57.5832 73.2876 60.1268
delta_time_per_sample 8.6445 0.147275 1.09537
used_time 51.9869 52.794 52.785
total_time - used_time = final_frame_time (render + denoise + save_png) 5.5963 20.4936 6.851

@gam0022
Copy link
Owner Author

gam0022 commented Sep 21, 2019

性能比較

before

loop:1 sample_per_launch :4 delta_time:9.68921 delta_time_per_sample:2.4223 used_time:11.3552 remain_time:41.6448 sample:4 frame_number:2
loop:2 sample_per_launch :17 delta_time:38.9665 delta_time_per_sample:2.29215 used_time:50.3217 remain_time:2.67826 sample:21 frame_number:3

[info] final_frame_rendering: 3.71027 sec.
[info] save_png: pr40-before.png 1.64877 sec.
[info] total_time: 63.7383 sec.
[info] total_sample: 23

pr40-before.txt

[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/redflash/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/redflash/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/redflash/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cow.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/data/cow.obj
[info] resolvePath source_location: C:/Users/gam0022/Dropbox/redflash/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:/Users/gam0022/Dropbox/redflash/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:/Users/gam0022/Dropbox/redflash/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 53 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] last_frame_scale: 1.7
[info] tonemap_exposure: 2.5
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:1.00001e-07	delta_time_per_sample:2.50002e-08	used_time:1.66603	remain_time:51.334	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:9.68921	delta_time_per_sample:2.4223	used_time:11.3552	remain_time:41.6448	sample:4	frame_number:2
[info] chnage sample_per_launch: 17 to 17
loop:2	sample_per_launch	:17	delta_time:38.9665	delta_time_per_sample:2.29215	used_time:50.3217	remain_time:2.67826	sample:21	frame_number:3
[info] chnage sample_per_launch: 17 to 1
loop:3	sample_per_launch	:1	delta_time:2.38275	delta_time_per_sample:2.38275	used_time:52.7045	remain_time:0.295511	sample:22	frame_number:4
[info] reached time limit! used_time: 52.7045 sec. remain_time: 0.295511 sec.
[info] final_frame_rendering: 3.71027 sec.
[info] save_png: pr40-before.png	1.64877 sec.
[info] save_png: pr40-before.png_original.png	1.6638 sec.
[info] save_png: pr40-before.png_albedo.png	0.574057 sec.
[info] save_png: pr40-before.png_normal.png	1.77283 sec.
[info] save_png: pr40-before.png_liner.png	1.55467 sec.
[info] total_time: 63.7383 sec.
[info] total_sample: 23

after ( 08ccba9 )

loop:1 sample_per_launch :4 delta_time:8.60636 delta_time_per_sample:2.15159 used_time:10.3814 remain_time:42.6186 sample:4 frame_number:2
loop:2 sample_per_launch :19 delta_time:44.0942 delta_time_per_sample:2.32075 used_time:54.4756 remain_time:-1.47561 sample:23 frame_number:3

[info] final_frame_rendering: 4.79037 sec.
[info] save_png: pr40-after.png 1.84016 sec.
[info] total_time: 70.0753 sec.
[info] total_sample: 25

pr40-after.txt

[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/redflash/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/redflash/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/redflash/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cow.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/data/cow.obj
[info] resolvePath source_location: C:/Users/gam0022/Dropbox/redflash/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:/Users/gam0022/Dropbox/redflash/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:/Users/gam0022/Dropbox/redflash/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 53 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] last_frame_scale: 1.7
[info] tonemap_exposure: 2.5
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:0.0002114	delta_time_per_sample:5.285e-05	used_time:1.77501	remain_time:51.225	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:8.60636	delta_time_per_sample:2.15159	used_time:10.3814	remain_time:42.6186	sample:4	frame_number:2
[info] chnage sample_per_launch: 19 to 19
loop:2	sample_per_launch	:19	delta_time:44.0942	delta_time_per_sample:2.32075	used_time:54.4756	remain_time:-1.47561	sample:23	frame_number:3
[info] chnage sample_per_launch: 19 to 1
loop:3	sample_per_launch	:1	delta_time:2.74376	delta_time_per_sample:2.74376	used_time:57.2194	remain_time:-4.21937	sample:24	frame_number:4
[info] reached time limit! used_time: 57.2194 sec. remain_time: -4.21937 sec.
[info] final_frame_rendering: 4.79037 sec.
[info] save_png: pr40-after.png	1.84016 sec.
[info] save_png: pr40-after.png_original.png	1.86923 sec.
[info] save_png: pr40-after.png_albedo.png	0.561584 sec.
[info] save_png: pr40-after.png_normal.png	2.00923 sec.
[info] save_png: pr40-after.png_liner.png	1.6502 sec.
[info] total_time: 70.0753 sec.
[info] total_sample: 25

after2( 8eaa674 )

loop:1 sample_per_launch :4 delta_time:8.55435 delta_time_per_sample:2.13859 used_time:10.187 remain_time:42.813 sample:4 frame_number:2
[info] chnage sample_per_launch: 20 to 20
loop:2 sample_per_launch :20 delta_time:43.155 delta_time_per_sample:2.15775 used_time:53.342 remain_time:-0.341989 sample:24 frame_number:3

[info] total_time: 66.8544 sec.
[info] total_sample: 26

pr40-after2.txt

[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/redflash.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/redflash/redflash.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/redflash/intersect_raymarching.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/intersect_sphere.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/redflash/intersect_sphere.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cow.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/data/cow.obj
[info] resolvePath source_location: C:/Users/gam0022/Dropbox/redflash/data/cow.obj
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/cuda/triangle_mesh.cu
[info] getCuStringFromFile source_location: C:/Users/gam0022/Dropbox/redflash/cuda/triangle_mesh.cu
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:/Users/gam0022/Dropbox/redflash/data/metallic-lucy-statue-stanford-scan.obj
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:\Users\gam0022\Dropbox\redflash\build\bin\Release/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolvePath source_location: C:/Users/gam0022/Dropbox/redflash/data/Ice_Lake/Ice_Lake_Ref.hdr
[info] resolution: 3840x2160 px
[info] time_limit: 53 sec.
[info] sample_per_launch: 4
[info] auto_set_sample_per_launch: 1
[info] auto_set_sample_per_launch_scale: 1
[info] last_frame_scale: 1.7
[info] tonemap_exposure: 2.5
[info] sample: INF(20)
loop:0	sample_per_launch	:4	delta_time:6.09993e-06	delta_time_per_sample:1.52498e-06	used_time:1.6326	remain_time:51.3674	sample:0	frame_number:1
loop:1	sample_per_launch	:4	delta_time:8.55435	delta_time_per_sample:2.13859	used_time:10.187	remain_time:42.813	sample:4	frame_number:2
[info] chnage sample_per_launch: 20 to 20
loop:2	sample_per_launch	:20	delta_time:43.155	delta_time_per_sample:2.15775	used_time:53.342	remain_time:-0.341989	sample:24	frame_number:3
[info] chnage sample_per_launch: 20 to 1
loop:3	sample_per_launch	:1	delta_time:2.27864	delta_time_per_sample:2.27864	used_time:55.6206	remain_time:-2.62063	sample:25	frame_number:4
[info] reached time limit! used_time: 55.6206 sec. remain_time: -2.62063 sec.
[info] final_frame_rendering: 3.61313 sec.
[info] save_png: pr40-after2.png	1.65568 sec.
[info] save_png: pr40-after2.png_original.png	1.71654 sec.
[info] save_png: pr40-after2.png_albedo.png	0.561938 sec.
[info] save_png: pr40-after2.png_normal.png	1.83984 sec.
[info] save_png: pr40-after2.png_liner.png	1.71238 sec.
[info] total_time: 66.8544 sec.
[info] total_sample: 26

@gam0022 gam0022 mentioned this pull request Sep 22, 2019
10 tasks
@gam0022 gam0022 merged commit 2e51926 into master Sep 22, 2019
@gam0022 gam0022 deleted the test-multi-gpu branch September 22, 2019 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant