'잡동사니'에 해당되는 글 13454건

  1. 2021.05.11 국내 출장? 외근?
  2. 2021.05.11 라즈베리2b+ 에서 vfpv3 빌드 성공!
  3. 2021.05.10 fp16
  4. 2021.05.10 imx6q neon tensorlow lite
  5. 2021.05.10 git log --stat
  6. 2021.05.09 git stash
  7. 2021.05.08 v50 / g8x wide mode
  8. 2021.05.07 gcc %p (nil)
  9. 2021.05.07 아두이노 USB HID
  10. 2021.05.06 rpi eeprom / usb boot

회사에서는 안먼데 집에서는 멀어서

빡센 동네로가면 그건 국내출장인가.. 외근인가? ㅠㅠ

 

교통이 좋아지니 국내출장은 사라지고

외근이 되니 먼가 콩고물도 없고

좋다고 해야하나 나쁘다고 해야하나?

Posted by 구차니
embeded/raspberry pi2021. 5. 11. 00:22

흐음.. 다른 옵션이 붙어서 그런가?

 

    CXXFLAGS += \
      -march=armv7-a \
      -mfpu=neon-vfpv3 \
      -mvectorize-with-neon-quad -ffast-math \
      -funsafe-math-optimizations \
      -ftree-vectorize \
      -fPIC

    CFLAGS += \
      -march=armv7-a \
      -mfpu=neon-vfpv3 \
      -mvectorize-with-neon-quad -ffast-math \
      -funsafe-math-optimizations \
      -ftree-vectorize \
      -fPIC

 

File Attributes
  Tag_CPU_name: "7-A"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: VFPv3
  Tag_Advanced_SIMD_arch: NEONv1
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_number_model: Finite
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_align_preserved: 8-byte, except leaf SP
  Tag_ABI_enum_size: int
  Tag_ABI_VFP_args: VFP registers
  Tag_ABI_optimization_goals: Aggressive Speed
  Tag_CPU_unaligned_access: v6

 

+

2021.05.12

아놔.. 회사에서 rpi 3b+ 에서 시도하니 vfpv2 / neon은 없이 나온다.

동일한 라즈베리 파이 이미지를 사용해서 gcc -v 하면 동일하게 나오는데 도대체 무슨 차이여!!!

 

 

'embeded > raspberry pi' 카테고리의 다른 글

rpi 4b spec + 부팅시간  (0) 2021.05.18
회사에 남...는(?!) 라즈베리 파이 4B  (0) 2021.05.12
rpi eeprom / usb boot  (0) 2021.05.06
회사돈으로 꿈 이루기 ㅋㅋ  (0) 2021.05.03
SLP (StereoPi Livestream Playground)  (0) 2021.04.30
Posted by 구차니

float가 대개 32bit

double이 대개 64bit 인데

fp16이라고 16bit짜리 half precision float point라는게 존재하네..

 

They can express values in the range ±65,504, with the minimum value above 1 being 1 + 1/1024.

In the IEEE 754-2008 standard, the 16-bit base-2 format is referred to as binary16. It is intended for storage of floating-point values in applications where higher precision is not essential for performing arithmetic computations.

[링크 : https://en.wikipedia.org/wiki/Half-precision_floating-point_format]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

current loop to rs232  (0) 2021.10.22
usb dwc  (0) 2021.09.23
gps 체크섬  (0) 2020.11.17
GPX, NMEA 포맷 변환  (0) 2020.11.05
NMEA / GPS 날짜&시간  (0) 2020.11.05
Posted by 구차니

이번 빌드 옵션들을 뒤져보다 보니 빼먹고 안 넣은게 있었네

(라고 쓰고 실은 귀찮았던...)

 

-mvectorize-with-neon-quad -ffast-math

[링크 : http://stackoverflow.com/questions/14962447/gcc-options-for-a-freescale-imx6q-arm-processor]

 

 

In addition GCC offers the -ffast-math flag which is a shortcut for several options, presenting the least conforming but fastest math mode. It enables -fno-trapping-math, -funsafe-math-optimizations, -ffinite-math-only, -fno-errno-math, -fno-signaling-nans, -fno-rounding-math, -fcx-limited-range and -fno-signed-zeros. Each of these flags violates IEEE in a different way. 

[링크 : http://gcc.gnu.org/wiki/FloatingPointMath]

 

 

Cortex-A9 -mcpu=cortex-a9 -mfpu=vfpv3-fp16 -mfpu=vfpv3-d16-fp16 -mfpu=neon-fp16

[링크 : http://www.programmersought.com/article/5320739655/]

 

-DENABLE_VFPV3=ON ARM VFPv3 floating 

[링크 : http://www.google.com/amp/s/learnopencv.com/build-and-install-opencv-4-for-raspberry-pi/amp/]

 

'프로그램 사용 > yolo_tensorflow' 카테고리의 다른 글

tensorflow lite interpreter->AllocateTensors()  (0) 2021.05.26
tflite common.h  (0) 2021.05.21
tflite type  (0) 2021.05.01
tflite example  (0) 2021.04.19
tflite convert  (0) 2021.04.16
Posted by 구차니

'프로그램 사용 > Version Control' 카테고리의 다른 글

git blame  (0) 2021.06.21
git pull rebase 설정  (0) 2021.06.02
git stash  (0) 2021.05.09
git 저장소 합치기 해보았으나..  (0) 2021.04.07
git 특정 디렉토리만 clone 하기  (0) 2021.04.07
Posted by 구차니

이번에 한번 날릴 각오로(!) 써봐야지 -_ㅠ

git stash [push]

git stash list

git stash apply | pop

SYNOPSIS
       git stash list [<options>]
       git stash show [<stash>]
       git stash drop [-q|--quiet] [<stash>]
       git stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]
       git stash branch <branchname> [<stash>]
       git stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]
                    [-u|--include-untracked] [-a|--all] [-m|--message <message>]
                    [--] [<pathspec>...]]
       git stash clear
       git stash create [<message>]
       git stash store [-m|--message <message>] [-q|--quiet] <commit>

[링크 : https://gmlwjd9405.github.io/2018/05/18/git-stash.html]

'프로그램 사용 > Version Control' 카테고리의 다른 글

git pull rebase 설정  (0) 2021.06.02
git log --stat  (0) 2021.05.10
git 저장소 합치기 해보았으나..  (0) 2021.04.07
git 특정 디렉토리만 clone 하기  (0) 2021.04.07
git lfs  (0) 2021.04.06
Posted by 구차니

와.. 이거슨 혁신

일본분이지만 사랑합니다!!!!

 

다만 아쉬운건 해당 프로그램에 대해서 전체 화면을 강제하는 것이기에

아무생각없이 앱 실행없이 해당 기능 활성화 하면

이상하게 작동을 하는 것 처럼 보인다는 것 -_ㅠ

 

[링크 : https://piunikaweb.com/2019/12/18/lg-v50-g8x-wide-mode/]

Posted by 구차니
프로그램 사용/gcc2021. 5. 7. 17:30

%p로 출력하니 0일 경우 (nil)로 출력되네?

 

[링크 : https://stackoverflow.com/questions/4744650/nil-pointer-in-c-c]

'프로그램 사용 > gcc' 카테고리의 다른 글

gcc vectorized loop  (0) 2021.06.30
gcc unsigned to signed cast  (0) 2021.06.22
gcc -D 옵션 인자를 printf로 출력하기  (0) 2021.04.08
Auto-vectorization in GCC  (0) 2021.03.25
gcc -march 옵션  (0) 2021.01.24
Posted by 구차니
embeded/arduino(genuino)2021. 5. 7. 13:55

막상 사지니 개당 만원 정도 해서 헉! 스럽네 -_ㅠ

 

[링크 : https://gigglehd.com/gg/lifetech/4872763]

[링크 : https://ndb796.tistory.com/395]

'embeded > arduino(genuino)' 카테고리의 다른 글

아두이노 dht11  (0) 2022.11.14
아두이노 Serial.print()와 Serial.write()  (0) 2022.11.14
아두이노 시리얼 플로터  (0) 2020.09.08
TEA5767 살까 말까..  (0) 2020.06.15
지름신 축적중  (0) 2020.06.10
Posted by 구차니
embeded/raspberry pi2021. 5. 6. 22:41

odroid u3로 해보려다가 구제불능이라(128GB SD사려니..)

라즈베리로 USB 부팅이 되었던것 같아서 찾아보는 중

rpi 2b를 usb 부팅해서 좀 괜찮은걸 쓰면 SD 보다 나으려나?

 

[링크 : https://blog.naver.com/emperonics/221979352174]

[링크 : https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb]

 

[링크 : https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md]

[링크 : https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md]

[링크 : https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/host.md]

Posted by 구차니