leezu commented on issue #14664: tools/staticbuild/build.sh uses AVX2 
instruction set
URL: 
https://github.com/apache/incubator-mxnet/issues/14664#issuecomment-577910947
 
 
   I verified that the `./tools/staticbuild/build.sh cpu pip` includes AVX2 
instructions in the `libmxnet.so`, whereas standard make and cmake builds do 
not. 
https://github.com/apache/incubator-mxnet/blob/359da7611db68025e13c1f059bc604634847240c/make/staticbuild/linux_cpu.mk
   
   To check the presence of AVX2 instructions use:
   
   ``` bash
   objdump -M intel -d libmxnet.so -C > dump
   grep -E -i 
'(VPBROADCASTB|VPBROADCASTW|VPBROADCASTD|VPBROADCASTQ|VBROADCASTI128|VINSERTI128|VEXTRACTI128|VGATHERDPD|VGATHERQPD|VGATHERDPS|VGATHERQPS|VPGATHERDD|VPGATHERDQ|VPGATHERQD|VPGATHERQQ|VPMASKMOVD|VPMASKMOVQ|VPERMPS|VPERMD|VPERMPD|VPERMQ|VPERM2I128|VPBLENDD|VPSLLVD|VPSLLVQ|VPSRLVD|VPSRLVQ|VPSRAVD)'
 dump
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to