
 echo ' '
 export GPU_SINGLE_ALLOC_PERCENT="100"
 export GPU_ENABLE_LARGE_ALLOCATION="Y"
 strings /opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl64.so | grep GPU | grep ALLOC
 echo $GPU_SINGLE_ALLOC_PERCENT
 echo $GPU_ENABLE_LARGE_ALLOCATION
 echo ' '
 clinfo | grep alloc
 echo ' '

 export LD_LIBRARY_PATH="/home/mvp/Downloads/clFFT-Full-2.12.2-Linux-x64/lib64"

 ls -l fft1dB
 
 I1=/opt/AMDAPPSDK-3.0/include
 L1=/opt/AMDAPPSDK-3.0/lib/x86_64/sdk
 
 I2=/home/mvp/Downloads/clFFT-Full-2.12.2-Linux-x64/include
 L2=/home/mvp/Downloads/clFFT-Full-2.12.2-Linux-x64/lib64
 
 clang++ -std=c++11 -lstdc++ -I${I1} -I${I2} -L${L2} -L${L1} -lclFFT -lOpenCL -o fft1dB fft1dB.c
 
 ls -l fft1dB
