-
Couldn't load subscription status.
- Fork 36
Reshape Layer implementation for the GPU Architecture #8
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
base: master
Are you sure you want to change the base?
Conversation
|
I renamed this PR to add the |
|
I believe this is ready to be merged :) |
- use auto
in case gDebug is greater than 0.
both in the sequential and MT case. The sequential case has also been fixed since a non-triggered lazy snapshot caused a crash.
Bloom filter in header section of so files is well described by: https://blogs.oracle.com/solaris/gnu-hash-elf-sections-v2 and lld/ELF/SyntheticSections.cpp The point is that the static linker puts bloom filter value to .gnu.hash section in so files. We just have to read this value and compare to the mangled_name hash that we're looking for. Bloom filter is a false posive probability data structure, so it might say "yes" to library which "doesn't" contain mangled_name, but it won't say "no" to library which "do" contain mangled_name. Modules W/O this patch ``` Processing tutorials/hsimple.C... hsimple : Real Time = 0.04 seconds Cpu Time = 0.03 seconds (TFile *) 0x562b37a14fe0 Processing /home/yuka/CERN/ROOT/memory.C... cpu time = 0.362307 seconds sys time = 0.039741 seconds res memory = 278.215 Mbytes vir memory = 448.973 Mbytes ``` Modules With this patch ``` Processing tutorials/hsimple.C... hsimple : Real Time = 0.05 seconds Cpu Time = 0.05 seconds (TFile *) 0x564410677780 Processing /home/yuka/CERN/ROOT/memory.C... cpu time = 0.356471 seconds sys time = 0.079519 seconds res memory = 266.73 Mbytes vir memory = 423.59 Mbytes ``` This difference become bigger when we need to lookup more libraries in experiments.
rather than re-creating the full set every time it's needed. This is a performance optimisation. The routine for finding branches names is not lightweight, especially when dealing with trees with tens of branches. The names of the branches is now cached in the RInterface and its ownership shared among the RInterface<T> instances.
- use auto
- formating
- use auto
- spell check
- spell check - formating
- formating
If current pointer changes due to reallocation offset can be used as is
Introduce dummy for it
…minate code duplication
…tectures. The tests include overlapping local views, as well as the case where depth > 0.
…xpect the same arguments
Since some time back the gradient boosting option of TMVA is called "BoostType=Grad", not "GradBoost". This updated textual output to use the new name.
…st on different architectures
…d in-method comments
…architectures to prove correctness
…the `ReshapeLayer` class
…or arguments" This change needs more thought This reverts commit 48fc442.
…s. Added tests for the CPU architecture
This PR implements and tests all the functions of the
Reshape Layerin CUDA. Those are:Flattenfunction.Deflattenfunction.Reshapefunction.I additionally refactored the respective testing suite to remove code duplication between the same tests implemented in different architectures.