Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finally come up with a principled way of detecting byvalued-ness
- Loading branch information
1 parent
1e2a964
commit eade62d
Showing
3 changed files
with
97 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
kernel: _ZN10tensorflow7functor28FillPhiloxRandomKernelLaunchINS_6random27TruncatedNormalDistributionINS2_19SingleSampleAdapterINS2_12PhiloxRandomEEEfEEEEvS5_PNT_17ResultElementTypeExS8_ | ||
|
||
in device-noopt: | ||
``` | ||
define void @_ZN10tensorflow7functor28FillPhiloxRandomKernelLaunchINS_6random27TruncatedNormalDistributionINS2_19SingleSampleAdapterINS2_12PhiloxRandomEEEfEEEEvS5_PNT_17ResultElementTypeExS8_( | ||
%"class.tensorflow::random::PhiloxRandom"* byval nocapture readonly align 4, | ||
float* nocapture, | ||
i64, | ||
%"class.tensorflow::random::TruncatedNormalDistribution"* byval nocapture readonly align 4 | ||
) local_unnamed_addr #1 comdat { | ||
``` | ||
|
||
in hostraw: | ||
``` | ||
define linkonce_odr void @_ZN10tensorflow7functor28FillPhiloxRandomKernelLaunchINS_6random27TruncatedNormalDistributionINS2_19SingleSampleAdapterINS2_12PhiloxRandomEEEfEEEEvS5_PNT_17ResultElementTypeExS8_( | ||
%"class.tensorflow::random::PhiloxRandom"* byval align 8, | ||
float*, | ||
i64, | ||
float) #0 { | ||
``` | ||
|
||
And the original launch call, in hostraw: | ||
``` | ||
``` |