-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GPU colormapping, first step (#1835)
* Add TextureManager2D::get_or_create_with * Small code cleanup * Add code to upload a Tensor to a GPU texture * Add helper method Tensor::image_height_width_depth * Minor code cleanup (multiplicative_tint) * Hook up color textures via the new path * Refactor: introduce ColormappedTexture * Start working on an uint sampler * merge fix * Dumb colormapping of depth textures! * Use turbo for depth maps (and single-channel images :grimace:) * Use grayscale for luminance * ColorMap -> Colormap * Apply annotation context colormaps * Support sint textures too * cleanup * merge fix * Fix RGB images * More cleanup * Better error-handlign and nicer error message * Clean up the SAMPLE_TYPE with constants * Nicer shader interface * Better error handling * Remove dead code * Self-review cleanup * Fix bug in shader when sampling sint textures * Use textureSampleLevel * Apply a gamma to the image (unused as of now) * image_height_width_channels * fix various review comments * Optimize narrow_f64_to_f32s: avoid one allocation
- Loading branch information
Showing
23 changed files
with
1,055 additions
and
224 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
437fe2b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rust Benchmark
datastore/num_rows=1000/num_instances=1000/packed=false/insert/default
2856891
ns/iter (± 36142
)2817680
ns/iter (± 19745
)1.01
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/default
371
ns/iter (± 1
)369
ns/iter (± 2
)1.01
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/default
262
ns/iter (± 0
)261
ns/iter (± 1
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/default
422
ns/iter (± 0
)418
ns/iter (± 7
)1.01
datastore/num_rows=1000/num_instances=1000/packed=false/range/default
3004714
ns/iter (± 39140
)2942281
ns/iter (± 26155
)1.02
datastore/num_rows=1000/num_instances=1000/gc/default
2373232
ns/iter (± 2831
)2356007
ns/iter (± 16283
)1.01
mono_points_arrow/generate_message_bundles
27253563
ns/iter (± 691392
)25527041
ns/iter (± 1085534
)1.07
mono_points_arrow/generate_messages
113629539
ns/iter (± 886175
)113407675
ns/iter (± 980132
)1.00
mono_points_arrow/encode_log_msg
144366861
ns/iter (± 785098
)141226930
ns/iter (± 991972
)1.02
mono_points_arrow/encode_total
282627296
ns/iter (± 1104580
)281888721
ns/iter (± 1637292
)1.00
mono_points_arrow/decode_log_msg
177347684
ns/iter (± 665930
)176627784
ns/iter (± 5867103
)1.00
mono_points_arrow/decode_message_bundles
58626705
ns/iter (± 923501
)56767287
ns/iter (± 1365075
)1.03
mono_points_arrow/decode_total
234974619
ns/iter (± 1075048
)237055463
ns/iter (± 1991373
)0.99
mono_points_arrow_batched/generate_message_bundles
19349150
ns/iter (± 634073
)20201571
ns/iter (± 1059769
)0.96
mono_points_arrow_batched/generate_messages
4025677
ns/iter (± 60601
)4010825
ns/iter (± 113697
)1.00
mono_points_arrow_batched/encode_log_msg
1390614
ns/iter (± 5633
)1343093
ns/iter (± 8702
)1.04
mono_points_arrow_batched/encode_total
26255579
ns/iter (± 930136
)26198264
ns/iter (± 983941
)1.00
mono_points_arrow_batched/decode_log_msg
775674
ns/iter (± 1299
)781933
ns/iter (± 3403
)0.99
mono_points_arrow_batched/decode_message_bundles
7629545
ns/iter (± 96788
)7607328
ns/iter (± 187172
)1.00
mono_points_arrow_batched/decode_total
8521246
ns/iter (± 166257
)8725722
ns/iter (± 293203
)0.98
batch_points_arrow/generate_message_bundles
238921
ns/iter (± 477
)239420
ns/iter (± 2351
)1.00
batch_points_arrow/generate_messages
5076
ns/iter (± 11
)5027
ns/iter (± 22
)1.01
batch_points_arrow/encode_log_msg
259069
ns/iter (± 829
)259092
ns/iter (± 1653
)1.00
batch_points_arrow/encode_total
532449
ns/iter (± 1772
)534411
ns/iter (± 2576
)1.00
batch_points_arrow/decode_log_msg
210106
ns/iter (± 440
)208754
ns/iter (± 913
)1.01
batch_points_arrow/decode_message_bundles
1853
ns/iter (± 5
)1855
ns/iter (± 13
)1.00
batch_points_arrow/decode_total
218044
ns/iter (± 1698
)217420
ns/iter (± 1159
)1.00
arrow_mono_points/insert
2283918228
ns/iter (± 5900823
)2341117151
ns/iter (± 3876987
)0.98
arrow_mono_points/query
1182176
ns/iter (± 10820
)1201265
ns/iter (± 13180
)0.98
arrow_batch_points/insert
1154299
ns/iter (± 1732
)1153355
ns/iter (± 7372
)1.00
arrow_batch_points/query
14749
ns/iter (± 124
)14738
ns/iter (± 150
)1.00
arrow_batch_vecs/insert
26396
ns/iter (± 46
)26421
ns/iter (± 116
)1.00
arrow_batch_vecs/query
326363
ns/iter (± 785
)325080
ns/iter (± 1500
)1.00
tuid/Tuid::random
34
ns/iter (± 0
)34
ns/iter (± 0
)1
This comment was automatically generated by workflow using github-action-benchmark.