Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ ================================================================================ Starting Configure Run at Wed Mar 11 17:43:16 2015 Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --COPTFLAGS="-mp -fast" --CXXOPTFLAGS="-mp -fast" --FOPTFLAGS="-mp -fast" --prefix=/autofs/na3_home1/adams/petsc_public_opt64idx_pgi --download-hypre --download-metis --download-parmetis --with-cc=cc --with-clib-autodetect=0 --with-cxx=CC --with-cxxlib-autodetect=0 --with-fc=ftn --with-fortranlib-autodetect=0 --with-shared-libraries=0 --known-mpi-shared-libraries=1 --with-x=0 --with-64-bit-indices --with-debugging=0 PETSC_ARCH=arch-titan-opt64idx-pgi PETSC_DIR=/lustre/atlas/scratch/adams/env003/petsc_maint Working directory: /lustre/atlas2/env003/scratch/adams/petsc_maint Machine platform: ('Linux', 'titan-batch6', '3.0.101-0.31.1_1.0502.8394-cray_gem_s', '#1 SMP Wed Sep 10 03:56:55 UTC 2014', 'x86_64', 'x86_64') Python version: 2.7.3 (default, May 22 2013, 15:20:29) [GCC 4.3.4 [gcc-4_3-branch revision 152973]] ================================================================================ Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ TEST configureExternalPackagesDir from config.framework(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/framework.py:829) TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:829) ================================================================================ TEST configureDebuggers from PETSc.utilities.debuggers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/debuggers.py:22) TESTING: configureDebuggers from PETSc.utilities.debuggers(config/PETSc/utilities/debuggers.py:22) Find a default debugger and determine its arguments Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/gdb...not found Checking for program /ccs/home/adams/git-fat/gdb...not found Checking for program /opt/cray/llm/default/bin/gdb...not found Checking for program /opt/cray/llm/default/etc/gdb...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/gdb...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/gdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/gdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/gdb...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/gdb...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/gdb...not found Checking for program /ccs/home/adams/git-fat/gdb...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/gdb...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/gdb...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/gdb...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/gdb...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/gdb...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/gdb...not found Checking for program /opt/cray/netcdf/4.3.2/bin/gdb...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/gdb...not found Checking for program /sw/xk6/altd/bin/gdb...not found Checking for program /sw/xk6/site-aprun/bin/gdb...not found Checking for program /sw/xk6/bin/gdb...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/gdb...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/gdb...not found Checking for program /opt/cray/atp/1.7.5/bin/gdb...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/gdb...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/gdb...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/gdb...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/gdb...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/gdb...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/gdb...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/gdb...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/gdb...not found Checking for program /opt/cray/craype/2.2.1/bin/gdb...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/gdb...not found Checking for program /opt/modules/3.2.6.7/bin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/dbx...not found Checking for program /ccs/home/adams/git-fat/dbx...not found Checking for program /opt/cray/llm/default/bin/dbx...not found Checking for program /opt/cray/llm/default/etc/dbx...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/dbx...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/dbx...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/dbx...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/dbx...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/dbx...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/dbx...not found Checking for program /ccs/home/adams/git-fat/dbx...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/dbx...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/dbx...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/dbx...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/dbx...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/dbx...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/dbx...not found Checking for program /opt/cray/netcdf/4.3.2/bin/dbx...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/dbx...not found Checking for program /sw/xk6/altd/bin/dbx...not found Checking for program /sw/xk6/site-aprun/bin/dbx...not found Checking for program /sw/xk6/bin/dbx...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/dbx...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/dbx...not found Checking for program /opt/cray/atp/1.7.5/bin/dbx...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/dbx...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/dbx...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/dbx...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/dbx...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/dbx...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/dbx...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/dbx...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/dbx...not found Checking for program /opt/cray/craype/2.2.1/bin/dbx...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/dbx...not found Checking for program /opt/modules/3.2.6.7/bin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /bin/dbx...not found Checking for program /usr/sbin/dbx...not found Checking for program /sbin/dbx...not found Checking for program /usr/local/bin/dbx...not found Checking for program /usr/bin/X11/dbx...not found Checking for program /usr/X11R6/bin/dbx...not found Checking for program /usr/games/dbx...not found Checking for program /opt/bin/dbx...not found Checking for program /usr/lib/mit/bin/dbx...not found Checking for program /usr/lib/mit/sbin/dbx...not found Checking for program /usr/lib/qt3/bin/dbx...not found Checking for program /opt/cray/bin/dbx...not found Checking for program /opt/public/bin/dbx...not found Checking for program /opt/bin/dbx...not found Checking for program /opt/public/bin/dbx...not found Checking for program /ccs/home/adams/dbx...not found Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/xdb...not found Checking for program /ccs/home/adams/git-fat/xdb...not found Checking for program /opt/cray/llm/default/bin/xdb...not found Checking for program /opt/cray/llm/default/etc/xdb...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/xdb...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/xdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/xdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/xdb...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/xdb...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/xdb...not found Checking for program /ccs/home/adams/git-fat/xdb...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/xdb...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/xdb...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/xdb...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/xdb...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/xdb...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/xdb...not found Checking for program /opt/cray/netcdf/4.3.2/bin/xdb...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/xdb...not found Checking for program /sw/xk6/altd/bin/xdb...not found Checking for program /sw/xk6/site-aprun/bin/xdb...not found Checking for program /sw/xk6/bin/xdb...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/xdb...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/xdb...not found Checking for program /opt/cray/atp/1.7.5/bin/xdb...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/xdb...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/xdb...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/xdb...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/xdb...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/xdb...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/xdb...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/xdb...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/xdb...not found Checking for program /opt/cray/craype/2.2.1/bin/xdb...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/xdb...not found Checking for program /opt/modules/3.2.6.7/bin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /bin/xdb...not found Checking for program /usr/sbin/xdb...not found Checking for program /sbin/xdb...not found Checking for program /usr/local/bin/xdb...not found Checking for program /usr/bin/X11/xdb...not found Checking for program /usr/X11R6/bin/xdb...not found Checking for program /usr/games/xdb...not found Checking for program /opt/bin/xdb...not found Checking for program /usr/lib/mit/bin/xdb...not found Checking for program /usr/lib/mit/sbin/xdb...not found Checking for program /usr/lib/qt3/bin/xdb...not found Checking for program /opt/cray/bin/xdb...not found Checking for program /opt/public/bin/xdb...not found Checking for program /opt/bin/xdb...not found Checking for program /opt/public/bin/xdb...not found Checking for program /ccs/home/adams/xdb...not found Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/dsymutil...not found Checking for program /ccs/home/adams/git-fat/dsymutil...not found Checking for program /opt/cray/llm/default/bin/dsymutil...not found Checking for program /opt/cray/llm/default/etc/dsymutil...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/dsymutil...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/dsymutil...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/dsymutil...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/dsymutil...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/dsymutil...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/dsymutil...not found Checking for program /ccs/home/adams/git-fat/dsymutil...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/dsymutil...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/dsymutil...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/dsymutil...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/dsymutil...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/dsymutil...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/dsymutil...not found Checking for program /opt/cray/netcdf/4.3.2/bin/dsymutil...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/dsymutil...not found Checking for program /sw/xk6/altd/bin/dsymutil...not found Checking for program /sw/xk6/site-aprun/bin/dsymutil...not found Checking for program /sw/xk6/bin/dsymutil...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/dsymutil...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/dsymutil...not found Checking for program /opt/cray/atp/1.7.5/bin/dsymutil...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/dsymutil...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/dsymutil...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/dsymutil...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/dsymutil...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/dsymutil...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/dsymutil...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/dsymutil...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/dsymutil...not found Checking for program /opt/cray/craype/2.2.1/bin/dsymutil...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/dsymutil...not found Checking for program /opt/modules/3.2.6.7/bin/dsymutil...not found Checking for program /usr/bin/dsymutil...not found Checking for program /bin/dsymutil...not found Checking for program /usr/sbin/dsymutil...not found Checking for program /sbin/dsymutil...not found Checking for program /usr/local/bin/dsymutil...not found Checking for program /usr/bin/X11/dsymutil...not found Checking for program /usr/X11R6/bin/dsymutil...not found Checking for program /usr/games/dsymutil...not found Checking for program /opt/bin/dsymutil...not found Checking for program /usr/lib/mit/bin/dsymutil...not found Checking for program /usr/lib/mit/sbin/dsymutil...not found Checking for program /usr/lib/qt3/bin/dsymutil...not found Checking for program /opt/cray/bin/dsymutil...not found Checking for program /opt/public/bin/dsymutil...not found Checking for program /opt/bin/dsymutil...not found Checking for program /opt/public/bin/dsymutil...not found Checking for program /ccs/home/adams/dsymutil...not found Defined make macro "DSYMUTIL" to "true" Defined "USE_GDB_DEBUGGER" to "1" ================================================================================ TEST configureGit from config.sourceControl(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/sourceControl.py:24) TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/git...not found Checking for program /ccs/home/adams/git-fat/git...not found Checking for program /opt/cray/llm/default/bin/git...not found Checking for program /opt/cray/llm/default/etc/git...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/git...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/git...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/git...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/git...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/git...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/git...not found Checking for program /ccs/home/adams/git-fat/git...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/git...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/git...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 2.3.2 ================================================================================ TEST configureMercurial from config.sourceControl(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/sourceControl.py:35) TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/hg...not found Checking for program /ccs/home/adams/git-fat/hg...not found Checking for program /opt/cray/llm/default/bin/hg...not found Checking for program /opt/cray/llm/default/etc/hg...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/hg...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/hg...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/hg...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/hg...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/hg...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/hg...not found Checking for program /ccs/home/adams/git-fat/hg...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/hg...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/hg...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/hg...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/hg...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/hg...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/hg...not found Checking for program /opt/cray/netcdf/4.3.2/bin/hg...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/hg...not found Checking for program /sw/xk6/altd/bin/hg...not found Checking for program /sw/xk6/site-aprun/bin/hg...not found Checking for program /sw/xk6/bin/hg...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/hg...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/hg...not found Checking for program /opt/cray/atp/1.7.5/bin/hg...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/hg...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/hg...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/hg...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/hg...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/hg...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/hg...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/hg...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/hg...not found Checking for program /opt/cray/craype/2.2.1/bin/hg...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/hg...not found Checking for program /opt/modules/3.2.6.7/bin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /bin/hg...not found Checking for program /usr/sbin/hg...not found Checking for program /sbin/hg...not found Checking for program /usr/local/bin/hg...not found Checking for program /usr/bin/X11/hg...not found Checking for program /usr/X11R6/bin/hg...not found Checking for program /usr/games/hg...not found Checking for program /opt/bin/hg...not found Checking for program /usr/lib/mit/bin/hg...not found Checking for program /usr/lib/mit/sbin/hg...not found Checking for program /usr/lib/qt3/bin/hg...not found Checking for program /opt/cray/bin/hg...not found Checking for program /opt/public/bin/hg...not found Checking for program /opt/bin/hg...not found Checking for program /opt/public/bin/hg...not found Checking for program /ccs/home/adams/hg...not found ================================================================================ TEST configureCVS from config.sourceControl(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/sourceControl.py:46) TESTING: configureCVS from config.sourceControl(config/BuildSystem/config/sourceControl.py:46) Find the CVS executable Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/cvs...not found Checking for program /ccs/home/adams/git-fat/cvs...not found Checking for program /opt/cray/llm/default/bin/cvs...not found Checking for program /opt/cray/llm/default/etc/cvs...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/cvs...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/cvs...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/cvs...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/cvs...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/cvs...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/cvs...not found Checking for program /ccs/home/adams/git-fat/cvs...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/cvs...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/cvs...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/cvs...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/cvs...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/cvs...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/cvs...not found Checking for program /opt/cray/netcdf/4.3.2/bin/cvs...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/cvs...not found Checking for program /sw/xk6/altd/bin/cvs...not found Checking for program /sw/xk6/site-aprun/bin/cvs...not found Checking for program /sw/xk6/bin/cvs...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/cvs...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/cvs...not found Checking for program /opt/cray/atp/1.7.5/bin/cvs...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/cvs...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/cvs...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/cvs...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/cvs...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/cvs...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/cvs...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/cvs...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/cvs...not found Checking for program /opt/cray/craype/2.2.1/bin/cvs...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/cvs...not found Checking for program /opt/modules/3.2.6.7/bin/cvs...not found Checking for program /usr/bin/cvs...found Defined make macro "CVS" to "cvs" Executing: cvs --version stdout: Concurrent Versions System (CVS) 1.12.12 (client/server) Copyright (C) 2005 Free Software Foundation, Inc. Senior active maintainers include Larry Jones, Derek R. Price, and Mark D. Baushke. Please see the AUTHORS and README files from the CVS distribution kit for a complete list of contributors and copyrights. CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS ================================================================================ TEST configureSubversion from config.sourceControl(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/sourceControl.py:55) TESTING: configureSubversion from config.sourceControl(config/BuildSystem/config/sourceControl.py:55) Find the Subversion executable Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/svn...not found Checking for program /ccs/home/adams/git-fat/svn...not found Checking for program /opt/cray/llm/default/bin/svn...not found Checking for program /opt/cray/llm/default/etc/svn...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/svn...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/svn...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/svn...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/svn...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/svn...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/svn...not found Checking for program /ccs/home/adams/git-fat/svn...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/svn...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/svn...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/svn...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/svn...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/svn...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/svn...not found Checking for program /opt/cray/netcdf/4.3.2/bin/svn...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/svn...not found Checking for program /sw/xk6/altd/bin/svn...not found Checking for program /sw/xk6/site-aprun/bin/svn...not found Checking for program /sw/xk6/bin/svn...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/svn...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/svn...not found Checking for program /opt/cray/atp/1.7.5/bin/svn...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/svn...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/svn...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/svn...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/svn...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/svn...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/svn...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/svn...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/svn...not found Checking for program /opt/cray/craype/2.2.1/bin/svn...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/svn...not found Checking for program /opt/modules/3.2.6.7/bin/svn...not found Checking for program /usr/bin/svn...found Defined make macro "SVN" to "svn" Executing: svn --version -q stdout: 1.6.17 ================================================================================ TEST configureCLanguage from PETSc.utilities.languages(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/languages.py:27) TESTING: configureCLanguage from PETSc.utilities.languages(config/PETSc/utilities/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" ================================================================================ TEST configureDirectories from PETSc.utilities.petscdir(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/petscdir.py:23) TESTING: configureDirectories from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:23) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 1 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 5 #define PETSC_VERSION_SUBMINOR 3 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "unknown" #define PETSC_VERSION_GIT "unknown" #define PETSC_VERSION_DATE_GIT "unknown" #define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ Defined make macro "DIR" to "/lustre/atlas/scratch/adams/env003/petsc_maint" ================================================================================ TEST getDatafilespath from PETSc.utilities.dataFilesPath(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/dataFilesPath.py:29) TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(config/PETSc/utilities/dataFilesPath.py:29) Checks what DATAFILESPATH should be ================================================================================ TEST configureInstallationMethod from PETSc.utilities.petscclone(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/petscclone.py:15) TESTING: configureInstallationMethod from PETSc.utilities.petscclone(config/PETSc/utilities/petscclone.py:15) bin/maint exists. This appears to be a repository clone Defined "VERSION_GIT" to ""v3.5.3-37-g7bcbaff"" Defined "VERSION_DATE_GIT" to ""2015-02-27 12:25:16 -0600"" Defined "VERSION_BRANCH_GIT" to ""maint"" ================================================================================ TEST configureETags from PETSc.utilities.Etags(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/Etags.py:27) TESTING: configureETags from PETSc.utilities.Etags(config/PETSc/utilities/Etags.py:27) Determine if etags files exist and try to create otherwise Found etags file ================================================================================ TEST configureArchitecture from PETSc.utilities.arch(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/arch.py:25) TESTING: configureArchitecture from PETSc.utilities.arch(config/PETSc/utilities/arch.py:25) Checks PETSC_ARCH and sets if not set =============================================================================== Warning: PETSC_ARCH from environment does not match command-line or name of script. Warning: Using from command-line or name of script: arch-titan-opt64idx-pgi, ignoring environment: arch-titan-dbg-pgi =============================================================================== Defined "ARCH" to ""arch-titan-opt64idx-pgi"" ================================================================================ TEST setInstallDir from PETSc.utilities.installDir(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/installDir.py:27) TESTING: setInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:27) setup installDir to PETSC_DIR/PETSC_ARCH ================================================================================ TEST saveReconfigure from PETSc.utilities.installDir(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/installDir.py:53) TESTING: saveReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:53) ================================================================================ TEST cleanInstallDir from PETSc.utilities.installDir(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/installDir.py:46) TESTING: cleanInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:46) ================================================================================ TEST configureInstallDir from PETSc.utilities.installDir(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/installDir.py:31) TESTING: configureInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:31) Makes installDir subdirectories if it does not exist Changed persistence directory to /lustre/atlas2/env003/scratch/adams/petsc_maint/arch-titan-opt64idx-pgi/conf ================================================================================ TEST restoreReconfigure from PETSc.utilities.installDir(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/installDir.py:66) TESTING: restoreReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:66) ================================================================================ TEST setExternalPackagesDir from PETSc.utilities.externalpackagesdir(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/externalpackagesdir.py:15) TESTING: setExternalPackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:15) ================================================================================ TEST cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/externalpackagesdir.py:22) TESTING: cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:22) ================================================================================ TEST printEnvVariables from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1527) TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1527) **** printenv **** = PE_LIBSCI_GENCOMPS_CRAY_interlagos=83 PBS_O_LANG=en_US.UTF-8 CRAY_LIBSCI_BASE_DIR=/opt/cray/libsci/13.0.1 CPU=x86_64 PE_PETSC_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/petsc/3.5.1.0/real/@PRGENV@/@PE_PETSC_DEFAULT_GENCOMPS@/@PE_PETSC_DEFAULT_TARGET@/lib/pkgconfig INFOPATH=/opt/acml/5.3.1/Doc:/usr/local/info:/usr/share/info:/usr/info ALTD_ON=1 XTPE_LINK_TYPE=dynamic PROFILEREAD=true ATP_HOME=/opt/cray/atp/1.7.5 JAVA_HOME=/usr/lib64/jvm/java APRUN_USAGE_PATH=/sw/xk6/aprun-usage PE_LIBSCI_VOLATILE_PKGCONFIG_PATH=/opt/cray/libsci/13.0.1/@PRGENV@/@PE_LIBSCI_GENCOMPS@/@PE_LIBSCI_TARGET@/lib/pkgconfig PE_NETCDF_HDF5PARALLEL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/netcdf-hdf5parallel/4.3.2/@PRGENV@/@PE_NETCDF_HDF5PARALLEL_DEFAULT_GENCOMPS@/lib/pkgconfig CRAY_PARALLEL_NETCDF_DIR=/opt/cray/parallel-netcdf/1.5.0 PE_HDF5_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/hdf5/1.8.13/@PRGENV@/@PE_HDF5_DEFAULT_GENCOMPS@/lib/pkgconfig PE_TRILINOS_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/trilinos/11.10.1.0/@PRGENV@/@PE_TRILINOS_DEFAULT_GENCOMPS@/@PE_TRILINOS_DEFAULT_TARGET@/lib/pkgconfig PE_LIBSCI_GENCOMPS_GNU_interlagos=49 48 CVSROOT=:ext:madams@anag.lbl.gov:/usr/local/cvsroot PE_TPSL_DEFAULT_GENCOMPS_PGI_x86_64=141 PE_TPSL_DEFAULT_GENCOMPS_CRAY_interlagos=83 PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_interlagos=140 PE_SMA_DIR_CRAY_DEFAULT64=64 CSHEDIT=emacs LESSOPEN=lessopen.sh %s PE_LIBSCI_GENCOMPS_INTEL_interlagos=140 CRAY_UDREG_INCLUDE_OPTS=-I/opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/include USER=adams PGI_VERS_STR=14.2.0 PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_x86_64=140 PGROUPD_LICENSE_FILE=/opt/pgi/license.dat JDK_HOME=/usr/lib64/jvm/java PE_HDF5_DEFAULT_GENCOMPS_GNU=49 48 CRAY_LIBSCI_DIR=/opt/cray/libsci/13.0.1 CRAY_NETCDF_HDF5PARALLEL_VERSION=4.3.2 CRAYPE_LINK_TYPE=dynamic JAVA_BINDIR=/usr/lib64/jvm/java/bin PE_NETCDF_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/netcdf/4.3.2/@PRGENV@/@PE_NETCDF_DEFAULT_GENCOMPS@/lib/pkgconfig CRAY_LIBSCI_VERSION=13.0.1 PE_ACML_DEFAULT_DIR_OPENMP=_mp PE_TPSL_DEFAULT_GENCOMPS_CRAY_x86_64=83 PE_MPICH_DEFAULT_FIXED_PRGENV=INTEL PE_HDF5_PARALLEL_DEFAULT_FIXED_PRGENV=CRAY PGI INTEL TMPDIR=/tmp/scratch PE_PKGCONFIG_PRODUCTS_DEFAULT=PE_PAPI PBS_GPUFILE=/var/spool/torque/aux//2275982gpu PE_GA_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/ga/5.1.0.5/@PRGENV@/@PE_GA_DEFAULT_GENCOMPS@/lib/pkgconfig PE_LIBSCI_GENCOMPS_PGI_x86_64=141 PE_HDF5_PARALLEL_DEFAULT_GENCOMPS_GNU=49 48 MODULE_VERSION=3.2.6.7 LIBSCI_VERSION=13.0.1 CRAY_XPMEM_INCLUDE_OPTS=-I/opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/include PE_MPICH_DEFAULT_GENCOMPS_GNU=49 48 PE_ACML_TARGET_interlagos=_fma4 PE_ACML_DIR_INTEL=ifort64 PE_LIBSCI_GENCOMPS_INTEL_x86_64=140 PE_GA_DEFAULT_FIXED_PRGENV=CRAY PGI INTEL PE_FORTRAN_PKGCONFIG_LIBS=netcdff_parallel:mpichf90 PE_MPICH_GENCOMPS_PGI=141 PE_PAPI_DEFAULT_ACCEL_LIBS_nvidia35=,-lcupti,-lcudart,-lcuda PE_ACML_DEFAULT_TARGET_interlagos=_fma4 CRAY_CUDATOOLKIT_VERSION=5.5.51-1.0502.9594.3.1 NNTPSERVER=news CUDATOOLKIT_HOME=/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1 HOST=titan-batch6 PE_NETCDF_HDF5PARALLEL_DEFAULT_VOLATILE_PRGENV=GNU PE_PGI_DEFAULT_FIXED_PKGCONFIG_PATH=/opt/cray/ga/5.1.0.5/PGI/141/lib/pkgconfig:/opt/cray/netcdf-hdf5parallel/4.3.2/PGI/141/lib/pkgconfig:/opt/cray/netcdf/4.3.2/PGI/141/lib/pkgconfig:/opt/cray/parallel-netcdf/1.5.0/PGI/141/lib/pkgconfig:/opt/cray/hdf5-parallel/1.8.13/PGI/141/lib/pkgconfig:/opt/cray/hdf5/1.8.13/PGI/141/lib/pkgconfig PE_MPICH_MODULE_NAME=cray-mpich PE_LIBSCI_ACC_DEFAULT_VOLATILE_PRGENV=CRAY GNU DDTMPIRUN=/opt/cray/alps/default/bin/aprun PBS_MICFILE=/var/spool/torque/aux//2275982mic PE_FFTW_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/fftw/3.3.4.0/@PE_FFTW_DEFAULT_TARGET@/lib/pkgconfig PE_PETSC_DEFAULT_GENCOMPS_INTEL_haswell=140 PE_PARALLEL_NETCDF_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/parallel-netcdf/1.5.0/@PRGENV@/@PE_PARALLEL_NETCDF_DEFAULT_GENCOMPS@/lib/pkgconfig JRE_HOME=/usr/lib64/jvm/java/jre PE_TPSL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/tpsl/1.4.2/@PRGENV@/@PE_TPSL_DEFAULT_GENCOMPS@/@PE_TPSL_DEFAULT_TARGET@/lib/pkgconfig PBS_O_HOME=/ccs/home/adams PE_LIBSCI_DEFAULT_GENCOMPS_GNU_x86_64=49 48 PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH PE_HDF5_DEFAULT_FIXED_PRGENV=CRAY PGI INTEL PE_TPSL_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL PGI WORLDWORK=/lustre/atlas/world-shared PBS_ENVIRONMENT=PBS_INTERACTIVE PE_LIBSCI_GENCOMPS_PGI_interlagos=141 PGI=/opt/pgi/14.2.0 PE_MPICH_PKGCONFIG_VARIABLES=PE_MPICH_NV_LIBS_@accelerator@:PE_MPICH_MULTITHREADED_LIBS_@multithreaded@ LIBSCI_BASE_DIR=/opt/cray/libsci/13.0.1 PE_LIBSCI_GENCOMPS_INTEL_haswell=140 ATP_POST_LINK_OPTS=-Wl,-L/opt/cray/atp/1.7.5/lib/ PE_TRILINOS_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_HDF5_PARALLEL:PE_NETCDF_HDF5PARALLEL:PE_LIBSCI:PE_TPSL PE_LIBSCI_GENCOMPS_CRAY_haswell=83 PE_HDF5_PARALLEL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/hdf5-parallel/1.8.13/@PRGENV@/@PE_HDF5_PARALLEL_DEFAULT_GENCOMPS@/lib/pkgconfig PE_MPICH_DIR_PGI_DEFAULT64=64 PE_GA_DEFAULT_VOLATILE_PRGENV=GNU LOADEDMODULES=modules/3.2.6.7:eswrap/1.1.0-1.020200.1231.0:craype-network-gemini:craype/2.2.1:pgi/14.2.0:cray-libsci/13.0.1:udreg/2.3.2-1.0502.9275.1.25.gem:ugni/5.0-1.0502.9685.4.24.gem:pmi/5.0.5-1.0000.10300.134.8.gem:dmapp/7.0.1-1.0502.9501.5.211.gem:gni-headers/3.0-1.0502.9684.5.2.gem:xpmem/0.1-2.0502.55507.3.2.gem:dvs/2.5_0.9.0-1.0502.1873.1.142.gem:rca/1.0.0-2.0502.53711.3.125.gem:atp/1.7.5:PrgEnv-pgi/5.2.40:cray-mpich/7.0.4:craype-interlagos:lustredu/1.4:DefApps:site-aprun/1.0:aprun-usage/1.0:altd/1.0:cmake/2.8.10.2:acml/5.3.1:cray-netcdf-hdf5parallel/4.3.2:ddt/4.2-35818:cudatoolkit/5.5.51-1.0502.9594.3.1:git/2.3.2:python/2.7.3:nodestat/2.2-1.0502.53712.3.109.gem:sdb/1.0-1.0502.55976.5.27.gem:alps/5.2.1-2.0502.9072.13.1.gem:lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50:hss-llm/7.2.0:Base-opts/1.0.2-1.0502.53325.1.2.gem:cray-parallel-netcdf/1.5.0 PE_PETSC_DEFAULT_GENCOMPS_INTEL_sandybridge=140 PE_MPICH_DEFAULT_DIR_PGI_DEFAULT64=64 PE_PAPI_DEFAULT_PKGCONFIG_VARIABLES=PE_PAPI_ACCEL_LIBS_@accelerator@ CRAY_LD_LIBRARY_PATH=/opt/cray/parallel-netcdf/1.5.0/PGI/141/lib:/opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/lib64:/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/lib64:/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/extras/CUPTI/lib64:/opt/cray/netcdf-hdf5parallel/4.3.2/PGI/141/lib:/opt/cray/mpt/7.0.4/gni/mpich2-pgi/141/lib:/opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/lib64:/opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/lib64:/opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/lib64:/opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/lib64:/opt/cray/ugni/5.0-1.0502.9685.4.24.gem/lib64:/opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/lib64:/opt/cray/libsci/13.0.1/PGI/141/x86_64/lib PE_TRILINOS_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL PE_ACML_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/acml/5.3.1/@PE_ACML_DEFAULT_DIR@@PE_ACML_DEFAULT_TARGET@@PE_ACML_DEFAULT_DIR_OPENMP@@PE_ACML_DEFAULT_DIR_DEFAULT64@/lib/pkgconfig PE_LIBSCI_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL PGI PE_MPICH_DEFAULT_GENCOMPS_PGI=141 PYTHONPATH=/opt/cray/sdb/1.0-1.0502.55976.5.27.gem/lib64/py:/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/lib/python2.7/site-packages:/opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/lib/python2.7/site-packages LESS=-M -I PE_LIBSCI_ACC_DEFAULT_GENCOMPS_CRAY_x86_64=83 CRAYPE_NETWORK_TARGET=gemini USERMODULES=/opt/modules/3.2.6.7/init/.usermodules:acml:alps:apprentice2:atp:blcr:cce:chapel:cray-fftw:cray-libsci:cray-mpich2:craypat:craype:cray-petsc:cray-petsc-complex:cray-shmem:cray-tpsl:cray-trilinos:cudatoolkit:ddt:fftw:ga:gcc:hdf5:hdf5-parallel:intel:iobuf:java:lgdb:libfast:libsci_acc:mpich1:mrnet:netcdf:netcdf-hdf5parallel:netcdf-nofsync:netcdf-nofsync-hdf5parallel:ntk:onesided:papi:parallel-netcdf:pathscale:perftools:petsc:petsc-complex:pgi:pmi:PrgEnv-cray:PrgEnv-gnu:PrgEnv-intel:PrgEnv-pathscale:PrgEnv-pgi:stat:totalview:tpsl:trilinos:xt-asyncpe:xt-craypat:xt-lgdb:xt-libsci:xt-mpich2:xt-mpt:xt-papi:xt-shmem:xt-totalview XKEYSYMDB=/usr/share/X11/XKeysymDB PE_PARALLEL_NETCDF_VOLATILE_PKGCONFIG_PATH=/opt/cray/parallel-netcdf/1.5.0/@PRGENV@/@PE_PARALLEL_NETCDF_GENCOMPS@/lib/pkgconfig CRAY_CPU_TARGET=interlagos PE_PKGCONFIG_PRODUCTS=PE_PARALLEL_NETCDF:PE_NETCDF_HDF5PARALLEL:PE_ACML:PE_MPICH:PE_LIBSCI NETCDF_DIR=/opt/cray/netcdf-hdf5parallel/4.3.2/PGI/141 PE_LIBSCI_MODULE_NAME=cray-libsci/13.0.1 PE_FFTW_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH PE_ACML_TARGET_x86_64= PELOCAL_PRGENV=true PE_TPSL_DEFAULT_GENCOMPS_INTEL_x86_64=140 TARGETMODULES=/opt/modules/3.2.6.7/init/.targetmodules:craype-abudhabi:craype-abudhabi-cu:craype-accel-nvidia20:craype-accel-nvidia30:craype-accel-nvidia35:craype-barcelona:craype-hugepages128K:craype-hugepages128M:craype-hugepages16M:craype-hugepages256M:craype-hugepages2M:craype-hugepages512K:craype-hugepages512M:craype-hugepages64M:craype-hugepages8M:craype-interlagos:craype-interlagos-cu:craype-istanbul:craype-ivybridge:craype-knc:craype-mc12:craype-mc8:craype-network-aries:craype-network-gemini:craype-network-seastar:craype-sandybridge:craype-shanghai:craype-target-compute_node:craype-target-local_host:craype-target-native:craype-target-petest:craype-xeon:xtpe-barcelona:xtpe-interlagos:xtpe-interlagos-cu:xtpe-istanbul:xtpe-mc12:xtpe-mc8:xtpe-network-gemini:xtpe-network-seastar:xtpe-shanghai:xtpe-target-native:xtpe-xeon PE_ACML_DIR_DEFAULT64=_int64 SITE_APRUN_DIR=/sw/xk6/site-aprun CRAY_DMAPP_POST_LINK_OPTS=-L/opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/lib64 LS_COLORS= CRAYOS_VERSION=5.2.40 PE_PETSC_DEFAULT_GENCOMPS_GNU_x86_64=49 48 JAVA_ROOT=/usr/lib64/jvm/java PBS_O_LOGNAME=adams ESWRAP_LOGIN=titan-login1 MODULE_VERSION_STACK=3.2.6.7 PE_NETCDF_HDF5PARALLEL_VOLATILE_PRGENV=GNU SHLVL=1 CRAY_ALPS_INCLUDE_OPTS=-I/opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/include PE_MPICH_DEFAULT_DIR_CRAY_DEFAULT64=64 PE_LIBSCI_PKGCONFIG_VARIABLES=PE_LIBSCI_OMP_REQUIRES_@openmp@ CRAY_XPMEM_POST_LINK_OPTS=-L/opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/lib64 PETSC_DIR=/autofs/na3_home1/adams/petsc PBS_O_PATH=/ccs/home/adams/git-fat/:/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin:/opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin:/sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin:/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin:/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp:/sw/xk6/ddt/4.2-35818/sles11.1_binary/bin:/opt/cray/netcdf/4.3.2/bin:/sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin:/sw/xk6/altd/bin:/sw/xk6/site-aprun/bin:/sw/xk6/bin:/sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin:/opt/cray/mpt/7.0.4/gni/bin:/opt/cray/atp/1.7.5/bin:/opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin:/opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin:/opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin:/opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin:/opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin:/opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin:/opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin:/opt/pgi/14.2.0/linux86-64/14.2/bin:/opt/cray/craype/2.2.1/bin:/opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin:/opt/modules/3.2.6.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/opt/cray/bin:/opt/bin:/opt/public/bin PE_LIBSCI_ACC_DEFAULT_NV_SUFFIX_nvidia35=nv35 PE_PETSC_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI:PE_TPSL XTPE_NETWORK_TARGET=gemini ENV=/etc/bash.bashrc PE_PETSC_DEFAULT_GENCOMPS_INTEL_x86_64=140 LS_OPTIONS=-N --color=none -T 0 MODULEPATH=/opt/cray/gem/modulefiles:/opt/cray/craype/default/modulefiles:/opt/cray/modulefiles:/opt/modulefiles:/sw/xk6/modulefiles QT_HOME_DIR=/usr/share/desktop-data PGI_VERSION=14.2 ALT_LINKER=/sw/xk6/altd/bin/ld SYSTEM_USERDIR=/tmp/work/adams PERL5LIB=/sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/lib64/perl5/site_perl PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_haswell=140 OPENSSL_NO_DEFAULT_ZLIB=yes PE_FFTW_DEFAULT_TARGET_interlagos=interlagos LC_ALL=POSIX PE_NETCDF_HDF5PARALLEL_DEFAULT_FIXED_PRGENV=CRAY PGI INTEL PE_MPICH_DEFAULT_GENCOMPS_CRAY=83 PE_PETSC_DEFAULT_GENCOMPS_CRAY_sandybridge=83 LANG=en_US.UTF-8 ALTD_PATH=/sw/xk6/altd PBS_O_WORKDIR=/autofs/na3_home1/adams _LMFILES_000=/opt/modulefiles/modules/3.2.6.7:/opt/modulefiles/eswrap/1.1.0-1.020200.1231.0:/opt/cray/craype/default/modulefiles/craype-network-gemini:/opt/cray/modulefiles/craype/2.2.1:/opt/modulefiles/pgi/14.2.0:/opt/cray/modulefiles/cray-libsci/13.0.1:/opt/cray/gem/modulefiles/udreg/2.3.2-1.0502.9275.1.25.gem:/opt/cray/gem/modulefiles/ugni/5.0-1.0502.9685.4.24.gem:/opt/cray/gem/modulefiles/pmi/5.0.5-1.0000.10300.134.8.gem:/opt/cray/gem/modulefiles/dmapp/7.0.1-1.0502.9501.5.211.gem:/opt/cray/gem/modulefiles/gni-headers/3.0-1.0502.9684.5.2.gem:/opt/cray/gem/modulefiles/xpmem/0.1-2.0502.55507.3.2.gem:/opt/cray/gem/modulefiles/dvs/2.5_0.9.0-1.0502.1873.1.142.gem:/opt/cray/gem/modulefiles/rca/1.0.0-2.0502.53711.3.125.gem:/opt/cray/modulefiles/atp/1.7.5:/opt/cray/modulefiles/PrgEnv-pgi/5.2.40:/opt/cray/modulefiles/cray-mpich/7.0.4:/opt/cray/craype/default/modulefiles/craype-interlagos:/sw/xk6/modulefiles/lustredu/1.4:/sw/xk6/modulefiles/DefApps:/sw/xk6/modulefiles/site-aprun/1.0:/sw/xk6/modulefiles/ap _LMFILES_001=run-usage/1.0:/sw/xk6/modulefiles/altd/1.0:/sw/xk6/modulefiles/cmake/2.8.10.2:/opt/modulefiles/acml/5.3.1:/opt/cray/modulefiles/cray-netcdf-hdf5parallel/4.3.2:/sw/xk6/modulefiles/ddt/4.2-35818:/opt/cray/modulefiles/cudatoolkit/5.5.51-1.0502.9594.3.1:/sw/xk6/modulefiles/git/2.3.2:/sw/xk6/modulefiles/python/2.7.3:/opt/cray/gem/modulefiles/nodestat/2.2-1.0502.53712.3.109.gem:/opt/cray/gem/modulefiles/sdb/1.0-1.0502.55976.5.27.gem:/opt/cray/gem/modulefiles/alps/5.2.1-2.0502.9072.13.1.gem:/opt/cray/gem/modulefiles/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50:/opt/modulefiles/hss-llm/7.2.0:/opt/modulefiles/Base-opts/1.0.2-1.0502.53325.1.2.gem:/opt/cray/modulefiles/cray-parallel-netcdf/1.5.0 PE_ACML_DEFAULT_DIR_CRAY=gfortran64 DVS_INCLUDE_OPTS=-I/opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/include PE_LIBSCI_DEFAULT_GENCOMPS_PGI_interlagos=141 PROJWORK=/lustre/atlas/proj-shared PKG_CONFIG_PATH_DEFAULT=/opt/cray/papi/5.3.1/lib64/pkgconfig PE_SMA_VOLATILE_PKGCONFIG_PATH=/opt/cray/mpt/7.0.4/gni/sma@PE_SMA_DIR_DEFAULT64@/lib64/pkgconfig PBS_TASKNUM=1 PE_PARALLEL_NETCDF_DEFAULT_VOLATILE_PRGENV=GNU PBS_NUM_NODES=1 PE_CXX_PKGCONFIG_LIBS=netcdf_c++4_parallel:mpichcxx SSH_TTY=/dev/pts/4 PE_TRILINOS_DEFAULT_GENCOMPS_GNU_x86_64=49 48 PE_NETCDF_FORTRAN_PKGCONFIG_LIBS=netcdff_parallel PE_PARALLEL_NETCDF_DEFAULT_FIXED_PRGENV=CRAY PGI INTEL ACML_BASE_DIR=/opt/acml/5.3.1 CH_TIMER=TRUE PE_TPSL_DEFAULT_GENCOMPS_GNU_x86_64=49 48 SSH_CLIENT=128.3.5.192 50469 22 LOGNAME=adams PE_MPICH_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/mpt/7.0.4/gni/mpich2-@PRGENV@@PE_MPICH_DEFAULT_DIR_DEFAULT64@/@PE_MPICH_DEFAULT_GENCOMPS@/lib/pkgconfig PATH=/opt/cray/parallel-netcdf/1.5.0/bin:/ccs/home/adams/git-fat/:/opt/cray/llm/default/bin:/opt/cray/llm/default/etc:/opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin:/opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin:/opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin:/opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin:/opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin:/opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin:/ccs/home/adams/git-fat/:/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin:/opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin:/sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin:/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin:/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp:/sw/xk6/ddt/4.2-35818/sles11.1_binary/bin:/opt/cray/netcdf/4.3.2/bin:/sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin:/sw/xk6/altd/bin:/sw/xk6/site-aprun/bin:/sw/xk6/bin:/sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin:/opt/cray/mpt/7.0.4/gni/bin:/opt/cray/atp/1.7.5/bin:/opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin:/opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin:/opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin:/opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin:/opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin:/opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin:/opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin:/opt/pgi/14.2.0/linux86-64/14.2/bin:/opt/cray/craype/2.2.1/bin:/opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin:/opt/modules/3.2.6.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/opt/cray/bin:/opt/public/bin:/opt/bin:/opt/public/bin PE_PETSC_DEFAULT_GENCOMPS_CRAY_interlagos=83 PE_HDF5_PARALLEL_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH PBS_VERSION=TORQUE-4.2.6 PE_ACML_VOLATILE_PKGCONFIG_PATH=/opt/acml/5.3.1/@PE_ACML_DIR@@PE_ACML_TARGET@@PE_ACML_DIR_OPENMP@@PE_ACML_DIR_DEFAULT64@/lib/pkgconfig HOME=/ccs/home/adams CRAY_PRE_COMPILE_OPTS=-hnetwork=gemini INFODIR=/usr/local/info:/usr/share/info:/usr/info MAP_LICENSE_FILE=/sw/sources/ddt/Licence.map PE_NETCDF_CXX_PKGCONFIG_LIBS=netcdf_c++4_parallel CRAY_PRGENVPGI=loaded PBS_O_SERVER=moab1.ccs.ornl.gov GITDIR=/sw/xk6/git/2.3.2/sles11.3_gnu4.3.4 CRAY_UGNI_POST_LINK_OPTS=-L/opt/cray/ugni/5.0-1.0502.9685.4.24.gem/lib64 PE_INTEL_DEFAULT_FIXED_PKGCONFIG_PATH=/opt/cray/ga/5.1.0.5/INTEL/140/lib/pkgconfig:/opt/cray/netcdf-hdf5parallel/4.3.2/INTEL/140/lib/pkgconfig:/opt/cray/netcdf/4.3.2/INTEL/140/lib/pkgconfig:/opt/cray/parallel-netcdf/1.5.0/INTEL/140/lib/pkgconfig:/opt/cray/mpt/7.0.4/gni/mpich2-intel/140/lib/pkgconfig:/opt/cray/hdf5-parallel/1.8.13/INTEL/140/lib/pkgconfig:/opt/cray/hdf5/1.8.13/INTEL/140/lib/pkgconfig PE_MPICH_FIXED_PRGENV=INTEL PE_ACML_DEFAULT_DIR_INTEL=ifort64 PKGCONFIG_ENABLED=1 ALTD_SELECT_OFF_USERS= SHMEM_ABORT_ON_ERROR=1 PE_LIBSCI_GENCOMPS_GNU_x86_64=49 48 XAUTHLOCALHOSTNAME=titan-ext2 PE_PKGCONFIG_LIBS=pnetcdf:cray-cudatoolkit:netcdf_parallel:acml:mpich:AtpSigHandler:cray-rca:libsci_mpi:libsci PBS_NODENUM=0 PE_LIBSCI_GENCOMPS_INTEL_sandybridge=140 CH_OUTPUT_INTERVAL=100000 XCURSOR_THEME=DMZ CRAYPE_DIR=/opt/cray/craype/2.2.1 XDG_DATA_DIRS=/usr/local/share:/usr/share:/etc/opt/kde3/share:/opt/cray/share:/opt/kde3/share:/opt/public/share:/usr/share/gnome/help PE_MPICH_TARGET_VAR_nvidia35=-lcudart CRAY_MPICH2_BASEDIR=/opt/cray/mpt/7.0.4/gni CRAY_PMI_INCLUDE_OPTS=-I/opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/include MANPATH=/opt/cray/parallel-netcdf/1.5.0/man CRAY_CUDATOOLKIT_INCLUDE_OPTS=-I/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/include -I/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/extras/CUPTI/include -I/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/extras/Debugger/include PE_PETSC_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 PE_LIBSCI_ACC_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/libsci_acc/3.0.2/@PRGENV@/@PE_LIBSCI_ACC_DEFAULT_GENCOMPS@/@PE_LIBSCI_ACC_DEFAULT_TARGET@/lib/pkgconfig ALTD_SELECT_USERS= PE_NETCDF_HDF5PARALLEL_DEFAULT_REQUIRED_PRODUCTS=PE_HDF5_PARALLEL PE_MPICH PBS_NODEFILE=/var/spool/torque/aux//2275982 PE_LIBSCI_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 HOSTNAME=titan-ext2 PETSC_ARCH=arch-titan-dbg-pgi PBS_VNODENUM=0 PE_FFTW_DEFAULT_TARGET_sandybridge=sandybridge PE_TPSL_DEFAULT_GENCOMPS_INTEL_sandybridge=140 MACHTYPE=x86_64-suse-linux GROUP=adams CRAY_PARALLEL_NETCDF_VERSION=1.5.0 MINICOM=-c on CVS_RSH=ssh PE_LIBSCI_GENCOMPS_CRAY_sandybridge=83 PE_PETSC_DEFAULT_GENCOMPS_PGI_x86_64=141 DVS_VERSION=0.9.0 LIBRARYMODULES=/opt/modules/3.2.6.7/init/.librarymodules:acml:alps:apprentice2:atp:cray-fftw:cray-libsci:cray-mpich2:cray-petsc:cray-petsc-complex:cray-shmem:cray-tpsl:cray-trilinos:cudatoolkit:fftw:ga:hdf5:hdf5-parallel:iobuf:lgdb:libfast:libsci_acc:mpich1:mpich2:mrnet:netcdf:netcdf-hdf5parallel:netcdf-nofsync:netcdf-nofsync-hdf5parallel:ntk:onesided:papi:parallel-netcdf:petsc:petsc-complex:pmi:shmem:tpsl:trilinos:xt-atp:xt-lgdb:xt-libsci:xt-mpt:xt-papi PE_LIBSCI_DEFAULT_GENCOMPS_GNU_interlagos=49 48 MODULESHOME=/opt/modules/3.2.6.7 ACML_VERSION=5.3.1 PBS_JOBCOOKIE=29E6790201A1E9220D13CA0449ADB6FA PBS_O_HOST=titan-ext2.ccs.ornl.gov PE_TPSL_DEFAULT_GENCOMPS_CRAY_haswell=83 PE_PETSC_DEFAULT_GENCOMPS_CRAY_haswell=83 PE_MPICH_NV_LIBS_nvidia35=-lcudart PE_LIBSCI_GENCOMPS_CRAY_x86_64=83 PBS_NUM_PPN=16 PBS_O_SHELL=/bin/csh XDG_CONFIG_DIRS=/etc/xdg OMP_NUM_THREADS=16 PE_NETCDF_DEFAULT_GENCOMPS_GNU=49 48 PE_LIBSCI_ACC_DEFAULT_NV_SUFFIX_nvidia20=nv20 PAGER=less PE_PARALLEL_NETCDF_GENCOMPS_GNU=49 48 PE_GA_DEFAULT_GENCOMPS_GNU=49 48 CRAY_PMI_POST_LINK_OPTS=-L/opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/lib64 PE_ACML_DIR_PGI=pgi64 ATP_MRNET_COMM_PATH=/opt/cray/atp/1.7.5/bin/atp_mrnet_commnode_wrapper CRAY_MPICH2_VER=7.0.4 CRAY_CUDATOOLKIT_POST_LINK_OPTS=-L/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/lib64 -L/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/extras/CUPTI/lib64 -Wl,--as-needed -Wl,-lcupti -Wl,-lcudart -Wl,--no-as-needed -L/opt/cray/nvidia/default/lib64 -lcuda LD_LIBRARY_PATH=/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/lib:/opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/lib:/opt/sw/xk6/ddt/4.2-35818/sles11.1_binary/lib/32:/opt/sw/xk6/ddt/4.2-35818/sles11.1_binary/lib/64:/opt/pgi/14.2.0/linux86-64/14.2/libso:/opt/pgi/14.2.0/linux86-64/14.2/lib G_BROKEN_FILENAMES=1 FFTW_SYSTEM_WISDOM_DIR=/opt/cray/libsci/13.0.1 PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_sandybridge=83 PGI_PATH=/opt/pgi/14.2.0 PE_PARALLEL_NETCDF_DIR=/opt/cray/parallel-netcdf/1.5.0 PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_sandybridge=140 PE_TPSL_DEFAULT_GENCOMPS_INTEL_interlagos=140 G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-1,CP1252 PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_haswell=83 PBS_JOBNAME=STDIN PE_LIBSCI_VOLATILE_PRGENV=CRAY GNU INTEL PGI LESSCLOSE=lessclose.sh %s %s PE_MPICH_VOLATILE_PKGCONFIG_PATH=/opt/cray/mpt/7.0.4/gni/mpich2-@PRGENV@@PE_MPICH_DIR_DEFAULT64@/@PE_MPICH_GENCOMPS@/lib/pkgconfig CRAY_ALPS_POST_LINK_OPTS=-L/opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/lib64 PE_LIBSCI_DEFAULT_GENCOMPS_PGI_x86_64=141 PBS_NP=16 PE_TPSL_DEFAULT_GENCOMPS_CRAY_sandybridge=83 MORE=-sl PE_LIBSCI_DEFAULT_OMP_REQUIRES_openmp=_mp HOSTTYPE=x86_64 CRAYPE_VERSION=2.2.1 PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_interlagos=83 TERM=xterm-color PBS_MOMPORT=15003 MEMBERWORK=/lustre/atlas/scratch/adams PE_LIBSCI_ACC_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI CRAY_MPICH2_DIR=/opt/cray/mpt/7.0.4/gni/mpich2-pgi/141 PE_NETCDF_DEFAULT_VOLATILE_PRGENV=GNU CRAY_GNI_HEADERS_INCLUDE_OPTS=-I/opt/cray/gni-headers/3.0-1.0502.9684.5.2.gem/include PE_CRAY_DEFAULT_FIXED_PKGCONFIG_PATH=/opt/cray/ga/5.1.0.5/CRAY/83/lib/pkgconfig:/opt/cray/netcdf-hdf5parallel/4.3.2/CRAY/83/lib/pkgconfig:/opt/cray/netcdf/4.3.2/CRAY/83/lib/pkgconfig:/opt/cray/parallel-netcdf/1.5.0/CRAY/83/lib/pkgconfig:/opt/cray/hdf5-parallel/1.8.13/CRAY/83/lib/pkgconfig:/opt/cray/hdf5/1.8.13/CRAY/83/lib/pkgconfig PE_FFTW_DEFAULT_TARGET_x86_64=x86_64 LESSKEY=/etc/lesskey.bin PYTHONSTARTUP=/etc/pythonstart PBS_O_QUEUE=batch PWD=/lustre/atlas/scratch/adams/env003/petsc_maint XTOS_VERSION=5.2.40 RCLOCAL_BASEOPTS=true PE_PRODUCT_LIST=CRAY_LLM:CRAY_ALPS:ACML:CRAYPE_INTERLAGOS:CRAY_RCA:DVS:CRAY_XPMEM:CRAY_DMAPP:CRAY_PMI:CRAY_UGNI:CRAY_UDREG:CRAY_LIBSCI:CRAYPE:PGI PE_LIBSCI_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/libsci/13.0.1/@PRGENV@/@PE_LIBSCI_DEFAULT_GENCOMPS@/@PE_LIBSCI_DEFAULT_TARGET@/lib/pkgconfig PE_FFTW_DEFAULT_TARGET_haswell=haswell PE_ACML_DIR_GNU=gfortran64 PE_LIBSCI_PKGCONFIG_LIBS=libsci_mpi:libsci CRAY_NETCDF_DIR=/opt/cray/netcdf-hdf5parallel/4.3.2 SHELL=/bin/csh PE_HDF5_PARALLEL_DEFAULT_VOLATILE_PRGENV=GNU CRAY_MPICH2_ROOTDIR=/opt/cray/mpt/7.0.4 PE_PETSC_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL PGI LESS_ADVANCED_PREPROCESSOR=no PE_HDF5_DEFAULT_VOLATILE_PRGENV=GNU PRGENVMODULES=/opt/modules/3.2.6.7/init/.prgenvmodules:PrgEnv-cray:PrgEnv-gnu:PrgEnv-intel:PrgEnv-pathscale:PrgEnv-pgi PARALLEL_NETCDF_DIR=/opt/cray/parallel-netcdf/1.5.0/PGI/141 DMAPP_ABORT_ON_ERROR=1 VENDOR=suse PE_PARALLEL_NETCDF_MODULE_NAME=cray-parallel-netcdf PE_TPSL_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI MPICH_ABORT_ON_ERROR=1 PE_ENV=PGI PE_CRAY_FIXED_PKGCONFIG_PATH=/opt/cray/parallel-netcdf/1.5.0/CRAY/83/lib/pkgconfig:/opt/cray/netcdf-hdf5parallel/4.3.2/CRAY/83/lib/pkgconfig PE_MPICH_VOLATILE_PRGENV=CRAY GNU PGI PE_PETSC_DEFAULT_GENCOMPS_CRAY_x86_64=83 PE_PETSC_DEFAULT_GENCOMPS_GNU_interlagos=49 48 PE_PETSC_DEFAULT_GENCOMPS_GNU_haswell=49 48 SDK_HOME=/usr/lib64/jvm/java PE_ACML_DEFAULT_DIR_GNU=gfortran64 PE_NETCDF_HDF5PARALLEL_REQUIRED_PRODUCTS=PE_HDF5_PARALLEL PE_MPICH PE_PARALLEL_NETCDF_VOLATILE_PRGENV=GNU PBS_QUEUE=batch PE_MPICH_GENCOMPS_CRAY=83 PBS_JOBID=2275982 CRAY_RCA_POST_LINK_OPTS=-L/opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/lib64 -lrca PE_MPICH_TARGET_VAR_nvidia20=-lcudart MAIL=/var/mail/adams CSHRCREAD=true SSH_CONNECTION=128.3.5.192 50469 160.91.205.199 22 TOOLMODULES=/opt/modules/3.2.6.7/init/.toolmodules:apprentice:apprentice2:atp:chapel:craypat:ddt:gdb:iobuf:mrnet:papi:perftools:stat:totalview:xt-craypat:xt-lgdb:xt-papi:xt-totalview PE_MPICH_DIR_CRAY_DEFAULT64=64 PE_NETCDF_HDF5PARALLEL_FIXED_PRGENV=CRAY PGI INTEL ALTD_SELECT_ON=0 PE_LIBSCI_DEFAULT_GENCOMPS_GNU_haswell=49 48 INPUTRC=/etc/inputrc QTDIR=/usr/lib/qt3 PE_LIBSCI_ACC_DEFAULT_PKGCONFIG_VARIABLES=PE_LIBSCI_ACC_DEFAULT_NV_SUFFIX_@accelerator@ PE_LIBSCI_ACC_DEFAULT_GENCOMPS_GNU_x86_64=48 PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_x86_64=83 PE_PARALLEL_NETCDF_DEFAULT_GENCOMPS_GNU=49 48 CRAY_UGNI_INCLUDE_OPTS=-I/opt/cray/ugni/5.0-1.0502.9685.4.24.gem/include PE_PETSC_DEFAULT_GENCOMPS_INTEL_interlagos=140 PE_PKGCONFIG_DEFAULT_PRODUCTS=PE_GA:PE_LIBSCI:PE_TRILINOS:PE_NETCDF_HDF5PARALLEL:PE_ACML:PE_TPSL:PE_NETCDF:PE_LIBSCI_ACC:PE_PARALLEL_NETCDF:PE_MPICH:PE_HDF5_PARALLEL:PE_PETSC:PE_FFTW:PE_HDF5 PE_PAPI_DEFAULT_TARGET_VAR_nvidia35=,-lcupti,-lcudart,-lcuda MPICH_DIR=/opt/cray/mpt/7.0.4/gni/mpich2-pgi/141 PE_LIBSCI_GENCOMPS_GNU_sandybridge=49 48 PKG_CONFIG_PATH=/opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/lib64/pkgconfig:/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/lib/pkgconfig:/opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/lib/pkgconfig:/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/lib64/pkgconfig:/opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/lib64/pkgconfig:/opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/lib64/pkgconfig:/opt/cray/gni-headers/3.0-1.0502.9684.5.2.gem/lib64/pkgconfig:/opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/lib64/pkgconfig:/opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/lib64/pkgconfig:/opt/cray/ugni/5.0-1.0502.9685.4.24.gem/lib64/pkgconfig:/opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/lib64/pkgconfig:/opt/cray/craype/2.2.1/pkg-config:/opt/cray/iobuf/2.0.5/lib/pkgconfig:/opt/cray/atp/1.7.5/lib/pkgconfig XNLSPATH=/usr/share/X11/nls PBS_O_MAIL=/var/mail/adams ALTD_VERBOSE=0 WINDOWMANAGER=/usr/bin/gnome CRAY_LLM_DIR=/opt/cray/llm/default PE_ACML_DIR_OPENMP=_mp PE_TPSL_DEFAULT_GENCOMPS_GNU_haswell=49 48 CRAY_CUDATOOLKIT_DIR=/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1 COLORTERM=1 CRAY_DMAPP_INCLUDE_OPTS=-I/opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/include -I/opt/cray/gni-headers/3.0-1.0502.9684.5.2.gem/include PE_MPICH_NV_LIBS_nvidia20=-lcudart DISPLAY=localhost:50.0 PE_NETCDF_DEFAULT_FIXED_PRGENV=CRAY PGI INTEL PE_ACML_DEFAULT_DIR_DEFAULT64=_int64 PE_INTEL_FIXED_PKGCONFIG_PATH=/opt/cray/parallel-netcdf/1.5.0/INTEL/140/lib/pkgconfig:/opt/cray/netcdf-hdf5parallel/4.3.2/INTEL/140/lib/pkgconfig:/opt/cray/mpt/7.0.4/gni/mpich2-intel/140/lib/pkgconfig PE_TPSL_DEFAULT_GENCOMPS_INTEL_haswell=140 PBS_WALLTIME=1800 PE_TPSL_DEFAULT_GENCOMPS_GNU_interlagos=49 48 PE_TRILINOS_DEFAULT_GENCOMPS_GNU_interlagos=49 48 PE_LIBSCI_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH OSTYPE=linux PE_NETCDF_DEFAULT_REQUIRED_PRODUCTS=PE_HDF5_PARALLEL PE_MPICH PE_NETCDF_HDF5PARALLEL_DEFAULT_GENCOMPS_GNU=49 48 PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_x86_64=140 PE_TPSL_DEFAULT_GENCOMPS_PGI_interlagos=141 PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_interlagos=83 PE_MPICH_GENCOMPS_GNU=49 48 PE_NETCDF_MODULE_NAME=cray-netcdf-hdf5parallel CRAY_RCA_INCLUDE_OPTS=-I/opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/include -I/opt/cray/krca/1.0.0-2.0502.53880.4.103.gem/include -I/opt/cray-hss-devel/7.2.0/include PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_interlagos=140 PE_NETCDF_HDF5PARALLEL_GENCOMPS_GNU=49 48 DDT_LICENSE_FILE=/sw/sources/ddt/Licence PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_x86_64=83 CRAY_LIBSCI_PREFIX_DIR=/opt/cray/libsci/13.0.1/PGI/141/x86_64 PE_PETSC_DEFAULT_GENCOMPS_PGI_interlagos=141 PE_PARALLEL_NETCDF_FIXED_PRGENV=CRAY PGI INTEL VT_FILTER_SPEC=./filter.spec PE_PGI_FIXED_PKGCONFIG_PATH=/opt/cray/parallel-netcdf/1.5.0/PGI/141/lib/pkgconfig:/opt/cray/netcdf-hdf5parallel/4.3.2/PGI/141/lib/pkgconfig TZ=US/Eastern PE_MPICH_DEFAULT_VOLATILE_PRGENV=CRAY GNU PGI PE_MPICH_MULTITHREADED_LIBS_multithreaded=_mt PE_ACML_DEFAULT_DIR_PGI=pgi64 PE_LIBSCI_OMP_REQUIRES_openmp=_mp CRAY_SITE_LIST_DIR=/etc/opt/cray/modules PE_ACML_DIR_CRAY=gfortran64 RCLOCAL_PRGENV=true APRUN_XFER_LIMITS=0 PE_SMA_DIR_PGI_DEFAULT64=64 PE_TPSL_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 WORKDIR=/tmp/work/adams PE_NETCDF_HDF5PARALLEL_VOLATILE_PKGCONFIG_PATH=/opt/cray/netcdf-hdf5parallel/4.3.2/@PRGENV@/@PE_NETCDF_HDF5PARALLEL_GENCOMPS@/lib/pkgconfig PE_LIBSCI_DEFAULT_PKGCONFIG_VARIABLES=PE_LIBSCI_DEFAULT_OMP_REQUIRES_@openmp@ PE_LIBSCI_GENCOMPS_GNU_haswell=49 48 CRAY_UDREG_POST_LINK_OPTS=-L/opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/lib64 PE_NETCDF_PKGCONFIG_LIBS=netcdf_parallel DDT_HOME=/sw/xk6/ddt/4.2-35818/sles11.1_binary ================================================================================ TEST resetEnvCompilers from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1534) TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1534) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1499) TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:1499) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ================================================================================ TEST requireMpiLdPath from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1518) TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1518) OpenMPI wrappers require LD_LIBRARY_PATH set ================================================================================ TEST checkVendor from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:398) TESTING: checkVendor from config.setCompilers(config/BuildSystem/config/setCompilers.py:398) Determine the compiler vendor Compiler vendor is "" ================================================================================ TEST checkInitialFlags from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:408) TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:408) Initialize the compiler and linker flags Pushing language C Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to Popping language C Pushing language CUDA Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Popping language CUDA Pushing language Cxx Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Popping language Cxx Pushing language FC Initialized FFLAGS to Initialized FFLAGS to Initialized LDFLAGS to Popping language FC Initialized CPPFLAGS to Initialized CUDAPPFLAGS to Initialized CXXCPPFLAGS to Initialized CC_LINKER_FLAGS to [] Initialized CXX_LINKER_FLAGS to [] Initialized FC_LINKER_FLAGS to [] Initialized CUDAC_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ================================================================================ TEST checkCCompiler from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:534) TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:534) Locate a functional C compiler Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/cc...not found Checking for program /ccs/home/adams/git-fat/cc...not found Checking for program /opt/cray/llm/default/bin/cc...not found Checking for program /opt/cray/llm/default/etc/cc...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/cc...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/cc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/cc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/cc...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/cc...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/cc...not found Checking for program /ccs/home/adams/git-fat/cc...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/cc...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/cc...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/cc...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/cc...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/cc...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/cc...not found Checking for program /opt/cray/netcdf/4.3.2/bin/cc...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/cc...not found Checking for program /sw/xk6/altd/bin/cc...not found Checking for program /sw/xk6/site-aprun/bin/cc...not found Checking for program /sw/xk6/bin/cc...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/cc...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/cc...not found Checking for program /opt/cray/atp/1.7.5/bin/cc...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/cc...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/cc...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/cc...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/cc...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/cc...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/cc...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/cc...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/cc...not found Checking for program /opt/cray/craype/2.2.1/bin/cc...found Defined make macro "CC" to "cc" Pushing language C All intermediate test results are stored in /tmp/scratch/petsc-5_JlCR All intermediate test results are stored in /tmp/scratch/petsc-5_JlCR/config.setCompilers Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 512 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o Executing: /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest Executing: /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:567) TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:567) Locate a functional C preprocessor Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/cc...not found Checking for program /ccs/home/adams/git-fat/cc...not found Checking for program /opt/cray/llm/default/bin/cc...not found Checking for program /opt/cray/llm/default/etc/cc...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/cc...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/cc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/cc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/cc...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/cc...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/cc...not found Checking for program /ccs/home/adams/git-fat/cc...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/cc...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/cc...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/cc...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/cc...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/cc...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/cc...not found Checking for program /opt/cray/netcdf/4.3.2/bin/cc...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/cc...not found Checking for program /sw/xk6/altd/bin/cc...not found Checking for program /sw/xk6/site-aprun/bin/cc...not found Checking for program /sw/xk6/bin/cc...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/cc...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/cc...not found Checking for program /opt/cray/atp/1.7.5/bin/cc...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/cc...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/cc...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/cc...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/cc...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/cc...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/cc...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/cc...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/cc...not found Checking for program /opt/cray/craype/2.2.1/bin/cc...found Defined make macro "CPP" to "cc -E" Pushing language C Executing: cc -E -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c stdout: # 1 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c" # 1 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/confdefs.h" # 2 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c" # 1 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conffix.h" # 3 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c" # 1 "/usr/include/stdlib.h" # 17 "/usr/include/stdlib.h" # 21 "/usr/include/stdlib.h" # 1 "/usr/include/features.h" # 17 "/usr/include/features.h" # 91 "/usr/include/features.h" # 94 "/usr/include/features.h" # 120 "/usr/include/features.h" # 125 "/usr/include/features.h" # 134 "/usr/include/features.h" # 143 "/usr/include/features.h" # 151 "/usr/include/features.h" # 174 "/usr/include/features.h" # 186 "/usr/include/features.h" # 192 "/usr/include/features.h" # 199 "/usr/include/features.h" # 312 "/usr/include/features.h" # 316 "/usr/include/features.h" # 324 "/usr/include/features.h" # 329 "/usr/include/features.h" # 336 "/usr/include/features.h" # 344 "/usr/include/features.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 10 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 1 "/usr/include/sys/cdefs.h" # 18 "/usr/include/sys/cdefs.h" # 23 "/usr/include/sys/cdefs.h" # 30 "/usr/include/sys/cdefs.h" # 35 "/usr/include/sys/cdefs.h" # 73 "/usr/include/sys/cdefs.h" # 78 "/usr/include/sys/cdefs.h" # 83 "/usr/include/sys/cdefs.h" # 88 "/usr/include/sys/cdefs.h" # 102 "/usr/include/sys/cdefs.h" # 113 "/usr/include/sys/cdefs.h" # 123 "/usr/include/sys/cdefs.h" # 131 "/usr/include/sys/cdefs.h" # 147 "/usr/include/sys/cdefs.h" # 173 "/usr/include/sys/cdefs.h" # 198 "/usr/include/sys/cdefs.h" # 205 "/usr/include/sys/cdefs.h" # 214 "/usr/include/sys/cdefs.h" # 223 "/usr/include/sys/cdefs.h" # 232 "/usr/include/sys/cdefs.h" # 244 "/usr/include/sys/cdefs.h" # 254 "/usr/include/sys/cdefs.h" # 263 "/usr/include/sys/cdefs.h" # 271 "/usr/include/sys/cdefs.h" # 285 "/usr/include/sys/cdefs.h" # 293 "/usr/include/sys/cdefs.h" # 316 "/usr/include/sys/cdefs.h" # 325 "/usr/include/sys/cdefs.h" # 330 "/usr/include/sys/cdefs.h" # 337 "/usr/include/sys/cdefs.h" # 1 "/usr/include/bits/wordsize.h" # 354 "/usr/include/sys/cdefs.h" # 15 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 18 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 31 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 348 "/usr/include/features.h" # 351 "/usr/include/features.h" # 359 "/usr/include/features.h" # 370 "/usr/include/features.h" # 1 "/usr/include/gnu/stubs.h" # 2 "/usr/include/gnu/stubs.h" # 1 "/usr/include/bits/wordsize.h" # 5 "/usr/include/gnu/stubs.h" # 1 "/usr/include/gnu/stubs-64.h" # 4 "/usr/include/gnu/stubs-64.h" # 10 "/usr/include/gnu/stubs.h" # 372 "/usr/include/features.h" # 26 "/usr/include/stdlib.h" # 27 "/usr/include/stdlib.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 10 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 14 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 19 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 26 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 30 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 39 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 53 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 56 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 60 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 67 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 98 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 108 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 126 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 128 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 131 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 167 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 170 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 214 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" typedef unsigned long int size_t ; # 243 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 246 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 290 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 310 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 326 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" typedef int wchar_t ; # 361 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 395 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 17 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 34 "/usr/include/stdlib.h" # 97 "/usr/include/stdlib.h" typedef struct { int quot ; int rem ; } div_t ; # 104 "/usr/include/stdlib.h" # 106 "/usr/include/stdlib.h" typedef struct { long int quot ; long int rem ; } ldiv_t ; # 117 "/usr/include/stdlib.h" typedef struct { long long int quot ; long long int rem ; } lldiv_t ; # 128 "/usr/include/stdlib.h" # 133 "/usr/include/stdlib.h" # 138 "/usr/include/stdlib.h" # 140 "/usr/include/stdlib.h" extern size_t __ctype_get_mb_cur_max ( void ) ; # 144 "/usr/include/stdlib.h" extern double atof ( const char * __nptr ) ; extern int atoi ( const char * __nptr ) ; extern long int atol ( const char * __nptr ) ; # 157 "/usr/include/stdlib.h" extern long long int atoll ( const char * __nptr ) ; # 164 "/usr/include/stdlib.h" extern double strtod ( const char * __restrict __nptr , char * * __restrict __endptr ) ; # 172 "/usr/include/stdlib.h" extern float strtof ( const char * __restrict __nptr , char * * __restrict __endptr ) ; # 176 "/usr/include/stdlib.h" extern long double strtold ( const char * __restrict __nptr , char * * __restrict __endptr ) ; # 183 "/usr/include/stdlib.h" extern long int strtol ( const char * __restrict __nptr , char * * __restrict __endptr , int __base ) ; extern unsigned long int strtoul ( const char * __restrict __nptr , char * * __restrict __endptr , int __base ) ; # 194 "/usr/include/stdlib.h" # 196 "/usr/include/stdlib.h" extern long long int strtoq ( const char * __restrict __nptr , char * * __restrict __endptr , int __base ) ; # 201 "/usr/include/stdlib.h" extern unsigned long long int strtouq ( const char * __restrict __nptr , char * * __restrict __endptr , int __base ) ; # 208 "/usr/include/stdlib.h" # 210 "/usr/include/stdlib.h" extern long long int strtoll ( const char * __restrict __nptr , char * * __restrict __endptr , int __base ) ; # 215 "/usr/include/stdlib.h" extern unsigned long long int strtoull ( const char * __restrict __nptr , char * * __restrict __endptr , int __base ) ; # 310 "/usr/include/stdlib.h" extern char * l64a ( long int __n ) ; # 313 "/usr/include/stdlib.h" extern long int a64l ( const char * __s ) ; # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 18 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 22 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/usr/include/features.h" # 17 "/usr/include/features.h" # 28 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/usr/include/bits/types.h" # 18 "/usr/include/bits/types.h" # 22 "/usr/include/bits/types.h" # 1 "/usr/include/features.h" # 17 "/usr/include/features.h" # 28 "/usr/include/bits/types.h" # 1 "/usr/include/bits/wordsize.h" # 29 "/usr/include/bits/types.h" # 30 "/usr/include/bits/types.h" typedef unsigned char __u_char ; typedef unsigned short int __u_short ; typedef unsigned int __u_int ; typedef unsigned long int __u_long ; # 36 "/usr/include/bits/types.h" typedef signed char __int8_t ; typedef unsigned char __uint8_t ; typedef signed short int __int16_t ; typedef unsigned short int __uint16_t ; typedef signed int __int32_t ; typedef unsigned int __uint32_t ; # 44 "/usr/include/bits/types.h" typedef signed long int __int64_t ; typedef unsigned long int __uint64_t ; # 51 "/usr/include/bits/types.h" # 53 "/usr/include/bits/types.h" typedef long int __quad_t ; typedef unsigned long int __u_quad_t ; # 97 "/usr/include/bits/types.h" # 126 "/usr/include/bits/types.h" # 1 "/usr/include/bits/typesizes.h" # 18 "/usr/include/bits/typesizes.h" # 28 "/usr/include/bits/typesizes.h" # 62 "/usr/include/bits/typesizes.h" # 132 "/usr/include/bits/types.h" # 134 "/usr/include/bits/types.h" typedef unsigned long int __dev_t ; typedef unsigned int __uid_t ; typedef unsigned int __gid_t ; typedef unsigned long int __ino_t ; typedef unsigned long int __ino64_t ; typedef unsigned int __mode_t ; typedef unsigned long int __nlink_t ; typedef long int __off_t ; typedef long int __off64_t ; typedef int __pid_t ; typedef struct { int __val [ 2 ] ; } __fsid_t ; typedef long int __clock_t ; typedef unsigned long int __rlim_t ; typedef unsigned long int __rlim64_t ; typedef unsigned int __id_t ; typedef long int __time_t ; typedef unsigned int __useconds_t ; typedef long int __suseconds_t ; # 153 "/usr/include/bits/types.h" typedef int __daddr_t ; typedef long int __swblk_t ; typedef int __key_t ; # 157 "/usr/include/bits/types.h" typedef int __clockid_t ; # 160 "/usr/include/bits/types.h" typedef void * __timer_t ; # 163 "/usr/include/bits/types.h" typedef long int __blksize_t ; # 166 "/usr/include/bits/types.h" # 168 "/usr/include/bits/types.h" typedef long int __blkcnt_t ; typedef long int __blkcnt64_t ; # 172 "/usr/include/bits/types.h" typedef unsigned long int __fsblkcnt_t ; typedef unsigned long int __fsblkcnt64_t ; # 176 "/usr/include/bits/types.h" typedef unsigned long int __fsfilcnt_t ; typedef unsigned long int __fsfilcnt64_t ; # 180 "/usr/include/bits/types.h" typedef long int __ssize_t ; # 183 "/usr/include/bits/types.h" typedef __off64_t __loff_t ; typedef __quad_t * __qaddr_t ; typedef char * __caddr_t ; # 188 "/usr/include/bits/types.h" typedef long int __intptr_t ; # 191 "/usr/include/bits/types.h" typedef unsigned int __socklen_t ; # 32 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 35 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __u_char u_char ; typedef __u_short u_short ; typedef __u_int u_int ; typedef __u_long u_long ; typedef __quad_t quad_t ; typedef __u_quad_t u_quad_t ; typedef __fsid_t fsid_t ; # 46 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __loff_t loff_t ; # 50 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __ino_t ino_t ; # 62 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __dev_t dev_t ; # 67 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __gid_t gid_t ; # 72 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __mode_t mode_t ; # 77 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __nlink_t nlink_t ; # 82 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __uid_t uid_t ; # 88 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __off_t off_t ; # 100 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __pid_t pid_t ; # 105 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __id_t id_t ; # 110 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __ssize_t ssize_t ; # 116 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __daddr_t daddr_t ; typedef __caddr_t caddr_t ; # 123 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __key_t key_t ; # 1 "/usr/include/time.h" # 17 "/usr/include/time.h" # 21 "/usr/include/time.h" # 1 "/usr/include/bits/types.h" # 18 "/usr/include/bits/types.h" # 22 "/usr/include/bits/types.h" # 73 "/usr/include/time.h" # 75 "/usr/include/time.h" typedef __time_t time_t ; # 1 "/usr/include/bits/types.h" # 18 "/usr/include/bits/types.h" # 22 "/usr/include/bits/types.h" # 90 "/usr/include/time.h" # 91 "/usr/include/time.h" typedef __clockid_t clockid_t ; # 1 "/usr/include/bits/types.h" # 18 "/usr/include/bits/types.h" # 22 "/usr/include/bits/types.h" # 102 "/usr/include/time.h" # 103 "/usr/include/time.h" typedef __timer_t timer_t ; # 134 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 10 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 14 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 19 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 26 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 30 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 39 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 53 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 56 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 60 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 67 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 98 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 108 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 126 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 128 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 131 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 167 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 170 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 243 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 246 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 361 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 395 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 17 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 148 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 150 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef unsigned long int ulong ; typedef unsigned short int ushort ; typedef unsigned int uint ; # 156 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 160 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 163 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef char int8_t ; typedef short int int16_t ; typedef int int32_t ; # 167 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef long int int64_t ; # 174 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef unsigned char u_int8_t ; typedef unsigned short int u_int16_t ; typedef unsigned int u_int32_t ; # 179 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef unsigned long int u_int64_t ; # 185 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef int register_t ; # 218 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/usr/include/endian.h" # 17 "/usr/include/endian.h" # 1 "/usr/include/features.h" # 17 "/usr/include/features.h" # 23 "/usr/include/endian.h" # 30 "/usr/include/endian.h" # 36 "/usr/include/endian.h" # 1 "/usr/include/bits/endian.h" # 38 "/usr/include/endian.h" # 40 "/usr/include/endian.h" # 60 "/usr/include/endian.h" # 1 "/usr/include/bits/byteswap.h" # 19 "/usr/include/bits/byteswap.h" # 1 "/usr/include/bits/wordsize.h" # 29 "/usr/include/bits/byteswap.h" # 30 "/usr/include/bits/byteswap.h" # 47 "/usr/include/bits/byteswap.h" # 55 "/usr/include/bits/byteswap.h" # 62 "/usr/include/endian.h" # 220 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 221 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/usr/include/sys/select.h" # 18 "/usr/include/sys/select.h" # 20 "/usr/include/sys/select.h" # 1 "/usr/include/features.h" # 17 "/usr/include/features.h" # 26 "/usr/include/sys/select.h" # 27 "/usr/include/sys/select.h" # 1 "/usr/include/bits/types.h" # 18 "/usr/include/bits/types.h" # 22 "/usr/include/bits/types.h" # 29 "/usr/include/sys/select.h" # 30 "/usr/include/sys/select.h" # 1 "/usr/include/bits/select.h" # 17 "/usr/include/bits/select.h" # 1 "/usr/include/bits/wordsize.h" # 24 "/usr/include/bits/select.h" # 48 "/usr/include/bits/select.h" # 32 "/usr/include/sys/select.h" # 33 "/usr/include/sys/select.h" # 1 "/usr/include/bits/sigset.h" # 19 "/usr/include/bits/sigset.h" # 24 "/usr/include/bits/sigset.h" typedef int __sig_atomic_t ; # 26 "/usr/include/bits/sigset.h" # 29 "/usr/include/bits/sigset.h" typedef struct { unsigned long int __val [ ( 1024 / ( 8 * sizeof ( unsigned long int ) ) ) ] ; } __sigset_t ; # 41 "/usr/include/bits/sigset.h" # 35 "/usr/include/sys/select.h" # 38 "/usr/include/sys/select.h" typedef __sigset_t sigset_t ; # 41 "/usr/include/sys/select.h" # 1 "/usr/include/time.h" # 17 "/usr/include/time.h" # 21 "/usr/include/time.h" # 1 "/usr/include/bits/types.h" # 18 "/usr/include/bits/types.h" # 22 "/usr/include/bits/types.h" # 117 "/usr/include/time.h" # 119 "/usr/include/time.h" struct timespec { __time_t tv_sec ; long int tv_nsec ; } ; # 45 "/usr/include/sys/select.h" # 1 "/usr/include/bits/time.h" # 18 "/usr/include/bits/time.h" # 22 "/usr/include/bits/time.h" # 1 "/usr/include/bits/types.h" # 18 "/usr/include/bits/types.h" # 22 "/usr/include/bits/types.h" # 66 "/usr/include/bits/time.h" # 68 "/usr/include/bits/time.h" struct timeval { __time_t tv_sec ; __suseconds_t tv_usec ; } ; # 47 "/usr/include/sys/select.h" # 49 "/usr/include/sys/select.h" typedef __suseconds_t suseconds_t ; # 54 "/usr/include/sys/select.h" typedef long int __fd_mask ; # 57 "/usr/include/sys/select.h" # 61 "/usr/include/sys/select.h" # 66 "/usr/include/sys/select.h" typedef struct { # 75 "/usr/include/sys/select.h" __fd_mask __fds_bits [ 1024 / ( 8 * ( int ) sizeof ( __fd_mask ) ) ] ; # 78 "/usr/include/sys/select.h" } fd_set ; # 80 "/usr/include/sys/select.h" # 84 "/usr/include/sys/select.h" typedef __fd_mask fd_mask ; # 87 "/usr/include/sys/select.h" # 92 "/usr/include/sys/select.h" # 108 "/usr/include/sys/select.h" extern int select ( int __nfds , fd_set * __restrict __readfds , fd_set * __restrict __writefds , fd_set * __restrict __exceptfds , struct timeval * __restrict __timeout ) ; # 120 "/usr/include/sys/select.h" extern int pselect ( int __nfds , fd_set * __restrict __readfds , fd_set * __restrict __writefds , fd_set * __restrict __exceptfds , const struct timespec * __restrict __timeout , const __sigset_t * __restrict __sigmask ) ; # 223 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 224 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/usr/include/sys/sysmacros.h" # 19 "/usr/include/sys/sysmacros.h" # 1 "/usr/include/features.h" # 17 "/usr/include/features.h" # 25 "/usr/include/sys/sysmacros.h" # 28 "/usr/include/sys/sysmacros.h" # 31 "/usr/include/sys/sysmacros.h" extern unsigned int gnu_dev_major ( unsigned long long int __dev ) ; # 34 "/usr/include/sys/sysmacros.h" extern unsigned int gnu_dev_minor ( unsigned long long int __dev ) ; # 37 "/usr/include/sys/sysmacros.h" extern unsigned long long int gnu_dev_makedev ( unsigned int __major , unsigned int __minor ) ; # 64 "/usr/include/sys/sysmacros.h" # 226 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 234 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 237 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __blkcnt_t blkcnt_t ; # 241 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __fsblkcnt_t fsblkcnt_t ; # 245 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __fsfilcnt_t fsfilcnt_t ; # 270 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/usr/include/bits/pthreadtypes.h" # 18 "/usr/include/bits/pthreadtypes.h" # 1 "/usr/include/bits/wordsize.h" # 24 "/usr/include/bits/pthreadtypes.h" # 49 "/usr/include/bits/pthreadtypes.h" typedef unsigned long int pthread_t ; # 53 "/usr/include/bits/pthreadtypes.h" typedef union { char __size [ 56 ] ; long int __align ; } pthread_attr_t ; # 61 "/usr/include/bits/pthreadtypes.h" typedef struct __pthread_internal_list { struct __pthread_internal_list * __prev ; struct __pthread_internal_list * __next ; } __pthread_list_t ; # 75 "/usr/include/bits/pthreadtypes.h" typedef union { struct __pthread_mutex_s { int __lock ; unsigned int __count ; int __owner ; # 84 "/usr/include/bits/pthreadtypes.h" unsigned int __nusers ; # 86 "/usr/include/bits/pthreadtypes.h" int __kind ; # 90 "/usr/include/bits/pthreadtypes.h" int __spins ; __pthread_list_t __list ; # 101 "/usr/include/bits/pthreadtypes.h" } __data ; char __size [ 40 ] ; long int __align ; } pthread_mutex_t ; # 106 "/usr/include/bits/pthreadtypes.h" typedef union { char __size [ 4 ] ; int __align ; } pthread_mutexattr_t ; # 114 "/usr/include/bits/pthreadtypes.h" typedef union { struct { int __lock ; unsigned int __futex ; unsigned long long int __total_seq ; unsigned long long int __wakeup_seq ; unsigned long long int __woken_seq ; void * __mutex ; unsigned int __nwaiters ; unsigned int __broadcast_seq ; } __data ; char __size [ 48 ] ; long long int __align ; } pthread_cond_t ; # 132 "/usr/include/bits/pthreadtypes.h" typedef union { char __size [ 4 ] ; int __align ; } pthread_condattr_t ; # 139 "/usr/include/bits/pthreadtypes.h" typedef unsigned int pthread_key_t ; # 143 "/usr/include/bits/pthreadtypes.h" typedef int pthread_once_t ; # 149 "/usr/include/bits/pthreadtypes.h" typedef union { # 153 "/usr/include/bits/pthreadtypes.h" struct { int __lock ; unsigned int __nr_readers ; unsigned int __readers_wakeup ; unsigned int __writer_wakeup ; unsigned int __nr_readers_queued ; unsigned int __nr_writers_queued ; int __writer ; int __shared ; unsigned long int __pad1 ; unsigned long int __pad2 ; unsigned int __flags ; } __data ; # 187 "/usr/include/bits/pthreadtypes.h" char __size [ 56 ] ; long int __align ; } pthread_rwlock_t ; # 191 "/usr/include/bits/pthreadtypes.h" typedef union { char __size [ 8 ] ; long int __align ; } pthread_rwlockattr_t ; # 200 "/usr/include/bits/pthreadtypes.h" typedef volatile int pthread_spinlock_t ; # 205 "/usr/include/bits/pthreadtypes.h" typedef union { char __size [ 32 ] ; long int __align ; } pthread_barrier_t ; # 212 "/usr/include/bits/pthreadtypes.h" typedef union { char __size [ 4 ] ; int __align ; } pthread_barrierattr_t ; # 273 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 321 "/usr/include/stdlib.h" # 325 "/usr/include/stdlib.h" extern long int random ( void ) ; # 329 "/usr/include/stdlib.h" extern void srandom ( unsigned int __seed ) ; # 335 "/usr/include/stdlib.h" extern char * initstate ( unsigned int __seed , char * __statebuf , size_t __statelen ) ; # 340 "/usr/include/stdlib.h" extern char * setstate ( char * __statebuf ) ; # 347 "/usr/include/stdlib.h" # 349 "/usr/include/stdlib.h" struct random_data { int32_t * fptr ; int32_t * rptr ; int32_t * state ; int rand_type ; int rand_deg ; int rand_sep ; int32_t * end_ptr ; } ; # 360 "/usr/include/stdlib.h" extern int random_r ( struct random_data * __restrict __buf , int32_t * __restrict __result ) ; # 363 "/usr/include/stdlib.h" extern int srandom_r ( unsigned int __seed , struct random_data * __buf ) ; # 366 "/usr/include/stdlib.h" extern int initstate_r ( unsigned int __seed , char * __restrict __statebuf , size_t __statelen , struct random_data * __restrict __buf ) ; # 371 "/usr/include/stdlib.h" extern int setstate_r ( char * __restrict __statebuf , struct random_data * __restrict __buf ) ; # 379 "/usr/include/stdlib.h" extern int rand ( void ) ; extern void srand ( unsigned int __seed ) ; # 386 "/usr/include/stdlib.h" extern int rand_r ( unsigned int * __seed ) ; # 392 "/usr/include/stdlib.h" # 394 "/usr/include/stdlib.h" extern double drand48 ( void ) ; extern double erand48 ( unsigned short int __xsubi [ 3 ] ) ; # 398 "/usr/include/stdlib.h" extern long int lrand48 ( void ) ; extern long int nrand48 ( unsigned short int __xsubi [ 3 ] ) ; # 403 "/usr/include/stdlib.h" extern long int mrand48 ( void ) ; extern long int jrand48 ( unsigned short int __xsubi [ 3 ] ) ; # 408 "/usr/include/stdlib.h" extern void srand48 ( long int __seedval ) ; extern unsigned short int * seed48 ( unsigned short int __seed16v [ 3 ] ) ; extern void lcong48 ( unsigned short int __param [ 7 ] ) ; # 417 "/usr/include/stdlib.h" struct drand48_data { unsigned short int __x [ 3 ] ; unsigned short int __old_x [ 3 ] ; unsigned short int __c ; unsigned short int __init ; unsigned long long int __a ; } ; # 427 "/usr/include/stdlib.h" extern int drand48_r ( struct drand48_data * __restrict __buffer , double * __restrict __result ) ; extern int erand48_r ( unsigned short int __xsubi [ 3 ] , struct drand48_data * __restrict __buffer , double * __restrict __result ) ; # 434 "/usr/include/stdlib.h" extern int lrand48_r ( struct drand48_data * __restrict __buffer , long int * __restrict __result ) ; extern int nrand48_r ( unsigned short int __xsubi [ 3 ] , struct drand48_data * __restrict __buffer , long int * __restrict __result ) ; # 443 "/usr/include/stdlib.h" extern int mrand48_r ( struct drand48_data * __restrict __buffer , long int * __restrict __result ) ; extern int jrand48_r ( unsigned short int __xsubi [ 3 ] , struct drand48_data * __restrict __buffer , long int * __restrict __result ) ; # 452 "/usr/include/stdlib.h" extern int srand48_r ( long int __seedval , struct drand48_data * __buffer ) ; # 456 "/usr/include/stdlib.h" extern int seed48_r ( unsigned short int __seed16v [ 3 ] , struct drand48_data * __buffer ) ; # 459 "/usr/include/stdlib.h" extern int lcong48_r ( unsigned short int __param [ 7 ] , struct drand48_data * __buffer ) ; # 470 "/usr/include/stdlib.h" extern void * malloc ( size_t __size ) ; extern void * calloc ( size_t __nmemb , size_t __size ) ; # 481 "/usr/include/stdlib.h" # 484 "/usr/include/stdlib.h" extern void * realloc ( void * __ptr , size_t __size ) ; extern void free ( void * __ptr ) ; # 492 "/usr/include/stdlib.h" extern void cfree ( void * __ptr ) ; # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/alloca.h" # 17 "/opt/pgi/14.2.0/linux86-64/14.2/include/alloca.h" # 1 "/usr/include/features.h" # 17 "/usr/include/features.h" # 23 "/opt/pgi/14.2.0/linux86-64/14.2/include/alloca.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 10 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 14 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 19 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 26 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 30 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 39 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 53 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 56 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 60 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 67 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 98 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 108 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 126 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 128 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 131 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 167 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 170 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 243 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 246 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 361 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 395 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 17 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 26 "/opt/pgi/14.2.0/linux86-64/14.2/include/alloca.h" # 29 "/opt/pgi/14.2.0/linux86-64/14.2/include/alloca.h" # 33 "/opt/pgi/14.2.0/linux86-64/14.2/include/alloca.h" # 39 "/opt/pgi/14.2.0/linux86-64/14.2/include/alloca.h" extern void * __alloca ( size_t __size ) ; extern void * alloca ( size_t __size ) ; extern void * __builtin_alloca ( size_t __size ) ; # 498 "/usr/include/stdlib.h" # 501 "/usr/include/stdlib.h" extern void * valloc ( size_t __size ) ; # 506 "/usr/include/stdlib.h" extern int posix_memalign ( void * * __memptr , size_t __alignment , size_t __size ) ; # 512 "/usr/include/stdlib.h" extern void abort ( void ) __attribute__ ( ( __noreturn__ ) ) ; # 516 "/usr/include/stdlib.h" extern int atexit ( void ( * __func ) ( void ) ) ; # 534 "/usr/include/stdlib.h" extern int on_exit ( void ( * __func ) ( int __status , void * __arg ) , void * __arg ) ; # 542 "/usr/include/stdlib.h" extern void exit ( int __status ) __attribute__ ( ( __noreturn__ ) ) ; # 558 "/usr/include/stdlib.h" extern void _Exit ( int __status ) __attribute__ ( ( __noreturn__ ) ) ; # 565 "/usr/include/stdlib.h" extern char * getenv ( const char * __name ) ; # 570 "/usr/include/stdlib.h" extern char * __secure_getenv ( const char * __name ) ; # 575 "/usr/include/stdlib.h" # 577 "/usr/include/stdlib.h" extern int putenv ( char * __string ) ; # 583 "/usr/include/stdlib.h" extern int setenv ( const char * __name , const char * __value , int __replace ) ; # 587 "/usr/include/stdlib.h" extern int unsetenv ( const char * __name ) ; # 594 "/usr/include/stdlib.h" extern int clearenv ( void ) ; # 603 "/usr/include/stdlib.h" extern char * mktemp ( char * __template ) ; # 613 "/usr/include/stdlib.h" # 615 "/usr/include/stdlib.h" extern int mkstemp ( char * __template ) ; # 635 "/usr/include/stdlib.h" # 637 "/usr/include/stdlib.h" extern int mkstemps ( char * __template , int __suffixlen ) ; # 657 "/usr/include/stdlib.h" extern char * mkdtemp ( char * __template ) ; # 711 "/usr/include/stdlib.h" extern int system ( const char * __command ) ; # 728 "/usr/include/stdlib.h" extern char * realpath ( const char * __restrict __name , char * __restrict __resolved ) ; # 734 "/usr/include/stdlib.h" # 737 "/usr/include/stdlib.h" typedef int ( * __compar_fn_t ) ( const void * , const void * ) ; # 749 "/usr/include/stdlib.h" extern void * bsearch ( const void * __key , const void * __base , size_t __nmemb , size_t __size , __compar_fn_t __compar ) ; # 755 "/usr/include/stdlib.h" extern void qsort ( void * __base , size_t __nmemb , size_t __size , __compar_fn_t __compar ) ; # 765 "/usr/include/stdlib.h" extern int abs ( int __x ) __attribute__ ( ( __const__ ) ) ; extern long int labs ( long int __x ) __attribute__ ( ( __const__ ) ) ; # 771 "/usr/include/stdlib.h" extern long long int llabs ( long long int __x ) __attribute__ ( ( __const__ ) ) ; # 778 "/usr/include/stdlib.h" extern div_t div ( int __numer , int __denom ) __attribute__ ( ( __const__ ) ) ; extern ldiv_t ldiv ( long int __numer , long int __denom ) __attribute__ ( ( __const__ ) ) ; # 788 "/usr/include/stdlib.h" extern lldiv_t lldiv ( long long int __numer , long long int __denom ) __attribute__ ( ( __const__ ) ) ; # 797 "/usr/include/stdlib.h" # 801 "/usr/include/stdlib.h" extern char * ecvt ( double __value , int __ndigit , int * __restrict __decpt , int * __restrict __sign ) ; # 807 "/usr/include/stdlib.h" extern char * fcvt ( double __value , int __ndigit , int * __restrict __decpt , int * __restrict __sign ) ; # 813 "/usr/include/stdlib.h" extern char * gcvt ( double __value , int __ndigit , char * __buf ) ; # 819 "/usr/include/stdlib.h" extern char * qecvt ( long double __value , int __ndigit , int * __restrict __decpt , int * __restrict __sign ) ; extern char * qfcvt ( long double __value , int __ndigit , int * __restrict __decpt , int * __restrict __sign ) ; extern char * qgcvt ( long double __value , int __ndigit , char * __buf ) ; # 831 "/usr/include/stdlib.h" extern int ecvt_r ( double __value , int __ndigit , int * __restrict __decpt , int * __restrict __sign , char * __restrict __buf , size_t __len ) ; extern int fcvt_r ( double __value , int __ndigit , int * __restrict __decpt , int * __restrict __sign , char * __restrict __buf , size_t __len ) ; # 839 "/usr/include/stdlib.h" extern int qecvt_r ( long double __value , int __ndigit , int * __restrict __decpt , int * __restrict __sign , char * __restrict __buf , size_t __len ) ; extern int qfcvt_r ( long double __value , int __ndigit , int * __restrict __decpt , int * __restrict __sign , char * __restrict __buf , size_t __len ) ; # 853 "/usr/include/stdlib.h" extern int mblen ( const char * __s , size_t __n ) ; # 856 "/usr/include/stdlib.h" extern int mbtowc ( wchar_t * __restrict __pwc , const char * __restrict __s , size_t __n ) ; # 860 "/usr/include/stdlib.h" extern int wctomb ( char * __s , wchar_t __wchar ) ; # 864 "/usr/include/stdlib.h" extern size_t mbstowcs ( wchar_t * __restrict __pwcs , const char * __restrict __s , size_t __n ) ; extern size_t wcstombs ( char * __restrict __s , const wchar_t * __restrict __pwcs , size_t __n ) ; # 878 "/usr/include/stdlib.h" extern int rpmatch ( const char * __response ) ; # 903 "/usr/include/stdlib.h" # 906 "/usr/include/stdlib.h" extern int posix_openpt ( int __oflag ) ; # 941 "/usr/include/stdlib.h" extern int getloadavg ( double __loadavg [ ] , int __nelem ) ; # 947 "/usr/include/stdlib.h" # 4 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c" Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:601) TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:601) Locate a functional CUDA compiler Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/nvcc...not found Checking for program /ccs/home/adams/git-fat/nvcc...not found Checking for program /opt/cray/llm/default/bin/nvcc...not found Checking for program /opt/cray/llm/default/etc/nvcc...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/nvcc...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/nvcc...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/nvcc...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/nvcc...not found Checking for program /ccs/home/adams/git-fat/nvcc...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/nvcc...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/nvcc...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/nvcc...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/nvcc...found Defined make macro "CUDAC" to "nvcc" Pushing language CUDA Executing: nvcc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Popping language CUDA Executing: nvcc --version stdout: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2013 NVIDIA Corporation Built on Thu_Mar__6_02:21:19_PST_2014 Cuda compilation tools, release 5.5, V5.5.0 ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:641) TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:641) Locate a functional CUDA preprocessor Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/nvcc...not found Checking for program /ccs/home/adams/git-fat/nvcc...not found Checking for program /opt/cray/llm/default/bin/nvcc...not found Checking for program /opt/cray/llm/default/etc/nvcc...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/nvcc...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/nvcc...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/nvcc...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/nvcc...not found Checking for program /ccs/home/adams/git-fat/nvcc...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/nvcc...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/nvcc...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/nvcc...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/nvcc...found Defined make macro "CUDAPP" to "nvcc -E" Pushing language CUDA Executing: nvcc -E -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu stdout: # 1 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu" # 1 "" # 1 "" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 1 # 59 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/host_config.h" 1 # 119 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/host_config.h" # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 120 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/host_config.h" 2 # 60 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 56 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_types.h" 1 # 53 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_types.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/host_defines.h" 1 # 54 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_types.h" 2 enum __attribute__((device_builtin)) cudaRoundMode { cudaRoundNearest, cudaRoundZero, cudaRoundPosInf, cudaRoundMinInf }; # 57 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" 1 # 70 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h" 1 3 4 # 11 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h" 3 4 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/syslimits.h" 1 3 4 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h" 1 3 4 # 122 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 145 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 157 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 39 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 40 "/usr/include/bits/local_lim.h" 2 3 4 # 158 "/usr/include/bits/posix1_lim.h" 2 3 4 # 146 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 150 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4 # 34 "/usr/include/bits/xopen_lim.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 35 "/usr/include/bits/xopen_lim.h" 2 3 4 # 154 "/usr/include/limits.h" 2 3 4 # 123 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h" 2 3 4 # 8 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/syslimits.h" 2 3 4 # 12 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h" 2 3 4 # 71 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" 2 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 152 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 3 4 typedef long int ptrdiff_t; # 214 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 3 4 typedef long unsigned int size_t; # 72 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" 2 # 124 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" enum __attribute__((device_builtin)) cudaError { cudaSuccess = 0, cudaErrorMissingConfiguration = 1, cudaErrorMemoryAllocation = 2, cudaErrorInitializationError = 3, # 159 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorLaunchFailure = 4, # 168 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorPriorLaunchFailure = 5, # 178 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorLaunchTimeout = 6, # 187 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorLaunchOutOfResources = 7, cudaErrorInvalidDeviceFunction = 8, # 202 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorInvalidConfiguration = 9, cudaErrorInvalidDevice = 10, cudaErrorInvalidValue = 11, cudaErrorInvalidPitchValue = 12, cudaErrorInvalidSymbol = 13, cudaErrorMapBufferObjectFailed = 14, cudaErrorUnmapBufferObjectFailed = 15, cudaErrorInvalidHostPointer = 16, cudaErrorInvalidDevicePointer = 17, cudaErrorInvalidTexture = 18, cudaErrorInvalidTextureBinding = 19, cudaErrorInvalidChannelDescriptor = 20, cudaErrorInvalidMemcpyDirection = 21, # 283 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorAddressOfConstant = 22, # 292 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorTextureFetchFailed = 23, # 301 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorTextureNotBound = 24, # 310 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorSynchronizationError = 25, cudaErrorInvalidFilterSetting = 26, cudaErrorInvalidNormSetting = 27, cudaErrorMixedDeviceExecution = 28, cudaErrorCudartUnloading = 29, cudaErrorUnknown = 30, cudaErrorNotYetImplemented = 31, # 359 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorMemoryValueTooLarge = 32, cudaErrorInvalidResourceHandle = 33, cudaErrorNotReady = 34, cudaErrorInsufficientDriver = 35, # 394 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorSetOnActiveProcess = 36, cudaErrorInvalidSurface = 37, cudaErrorNoDevice = 38, cudaErrorECCUncorrectable = 39, cudaErrorSharedObjectSymbolNotFound = 40, cudaErrorSharedObjectInitFailed = 41, cudaErrorUnsupportedLimit = 42, cudaErrorDuplicateVariableName = 43, cudaErrorDuplicateTextureName = 44, cudaErrorDuplicateSurfaceName = 45, # 456 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorDevicesUnavailable = 46, cudaErrorInvalidKernelImage = 47, cudaErrorNoKernelImageForDevice = 48, # 482 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorIncompatibleDriverContext = 49, cudaErrorPeerAccessAlreadyEnabled = 50, cudaErrorPeerAccessNotEnabled = 51, cudaErrorDeviceAlreadyInUse = 54, cudaErrorProfilerDisabled = 55, cudaErrorProfilerNotInitialized = 56, cudaErrorProfilerAlreadyStarted = 57, cudaErrorProfilerAlreadyStopped = 58, cudaErrorAssert = 59, cudaErrorTooManyPeers = 60, cudaErrorHostMemoryAlreadyRegistered = 61, cudaErrorHostMemoryNotRegistered = 62, cudaErrorOperatingSystem = 63, cudaErrorPeerAccessUnsupported = 64, cudaErrorLaunchMaxDepthExceeded = 65, cudaErrorLaunchFileScopedTex = 66, cudaErrorLaunchFileScopedSurf = 67, # 607 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorSyncDepthExceeded = 68, # 619 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" cudaErrorLaunchPendingCountExceeded = 69, cudaErrorNotPermitted = 70, cudaErrorNotSupported = 71, cudaErrorStartupFailure = 0x7f, cudaErrorApiFailureBase = 10000 }; enum __attribute__((device_builtin)) cudaChannelFormatKind { cudaChannelFormatKindSigned = 0, cudaChannelFormatKindUnsigned = 1, cudaChannelFormatKindFloat = 2, cudaChannelFormatKindNone = 3 }; struct __attribute__((device_builtin)) cudaChannelFormatDesc { int x; int y; int z; int w; enum cudaChannelFormatKind f; }; typedef struct cudaArray *cudaArray_t; typedef const struct cudaArray *cudaArray_const_t; struct cudaArray; typedef struct cudaMipmappedArray *cudaMipmappedArray_t; typedef const struct cudaMipmappedArray *cudaMipmappedArray_const_t; struct cudaMipmappedArray; enum __attribute__((device_builtin)) cudaMemoryType { cudaMemoryTypeHost = 1, cudaMemoryTypeDevice = 2 }; enum __attribute__((device_builtin)) cudaMemcpyKind { cudaMemcpyHostToHost = 0, cudaMemcpyHostToDevice = 1, cudaMemcpyDeviceToHost = 2, cudaMemcpyDeviceToDevice = 3, cudaMemcpyDefault = 4 }; struct __attribute__((device_builtin)) cudaPitchedPtr { void *ptr; size_t pitch; size_t xsize; size_t ysize; }; struct __attribute__((device_builtin)) cudaExtent { size_t width; size_t height; size_t depth; }; struct __attribute__((device_builtin)) cudaPos { size_t x; size_t y; size_t z; }; struct __attribute__((device_builtin)) cudaMemcpy3DParms { cudaArray_t srcArray; struct cudaPos srcPos; struct cudaPitchedPtr srcPtr; cudaArray_t dstArray; struct cudaPos dstPos; struct cudaPitchedPtr dstPtr; struct cudaExtent extent; enum cudaMemcpyKind kind; }; struct __attribute__((device_builtin)) cudaMemcpy3DPeerParms { cudaArray_t srcArray; struct cudaPos srcPos; struct cudaPitchedPtr srcPtr; int srcDevice; cudaArray_t dstArray; struct cudaPos dstPos; struct cudaPitchedPtr dstPtr; int dstDevice; struct cudaExtent extent; }; struct cudaGraphicsResource; enum __attribute__((device_builtin)) cudaGraphicsRegisterFlags { cudaGraphicsRegisterFlagsNone = 0, cudaGraphicsRegisterFlagsReadOnly = 1, cudaGraphicsRegisterFlagsWriteDiscard = 2, cudaGraphicsRegisterFlagsSurfaceLoadStore = 4, cudaGraphicsRegisterFlagsTextureGather = 8 }; enum __attribute__((device_builtin)) cudaGraphicsMapFlags { cudaGraphicsMapFlagsNone = 0, cudaGraphicsMapFlagsReadOnly = 1, cudaGraphicsMapFlagsWriteDiscard = 2 }; enum __attribute__((device_builtin)) cudaGraphicsCubeFace { cudaGraphicsCubeFacePositiveX = 0x00, cudaGraphicsCubeFaceNegativeX = 0x01, cudaGraphicsCubeFacePositiveY = 0x02, cudaGraphicsCubeFaceNegativeY = 0x03, cudaGraphicsCubeFacePositiveZ = 0x04, cudaGraphicsCubeFaceNegativeZ = 0x05 }; enum __attribute__((device_builtin)) cudaResourceType { cudaResourceTypeArray = 0x00, cudaResourceTypeMipmappedArray = 0x01, cudaResourceTypeLinear = 0x02, cudaResourceTypePitch2D = 0x03 }; enum __attribute__((device_builtin)) cudaResourceViewFormat { cudaResViewFormatNone = 0x00, cudaResViewFormatUnsignedChar1 = 0x01, cudaResViewFormatUnsignedChar2 = 0x02, cudaResViewFormatUnsignedChar4 = 0x03, cudaResViewFormatSignedChar1 = 0x04, cudaResViewFormatSignedChar2 = 0x05, cudaResViewFormatSignedChar4 = 0x06, cudaResViewFormatUnsignedShort1 = 0x07, cudaResViewFormatUnsignedShort2 = 0x08, cudaResViewFormatUnsignedShort4 = 0x09, cudaResViewFormatSignedShort1 = 0x0a, cudaResViewFormatSignedShort2 = 0x0b, cudaResViewFormatSignedShort4 = 0x0c, cudaResViewFormatUnsignedInt1 = 0x0d, cudaResViewFormatUnsignedInt2 = 0x0e, cudaResViewFormatUnsignedInt4 = 0x0f, cudaResViewFormatSignedInt1 = 0x10, cudaResViewFormatSignedInt2 = 0x11, cudaResViewFormatSignedInt4 = 0x12, cudaResViewFormatHalf1 = 0x13, cudaResViewFormatHalf2 = 0x14, cudaResViewFormatHalf4 = 0x15, cudaResViewFormatFloat1 = 0x16, cudaResViewFormatFloat2 = 0x17, cudaResViewFormatFloat4 = 0x18, cudaResViewFormatUnsignedBlockCompressed1 = 0x19, cudaResViewFormatUnsignedBlockCompressed2 = 0x1a, cudaResViewFormatUnsignedBlockCompressed3 = 0x1b, cudaResViewFormatUnsignedBlockCompressed4 = 0x1c, cudaResViewFormatSignedBlockCompressed4 = 0x1d, cudaResViewFormatUnsignedBlockCompressed5 = 0x1e, cudaResViewFormatSignedBlockCompressed5 = 0x1f, cudaResViewFormatUnsignedBlockCompressed6H = 0x20, cudaResViewFormatSignedBlockCompressed6H = 0x21, cudaResViewFormatUnsignedBlockCompressed7 = 0x22 }; struct __attribute__((device_builtin)) cudaResourceDesc { enum cudaResourceType resType; union { struct { cudaArray_t array; } array; struct { cudaMipmappedArray_t mipmap; } mipmap; struct { void *devPtr; struct cudaChannelFormatDesc desc; size_t sizeInBytes; } linear; struct { void *devPtr; struct cudaChannelFormatDesc desc; size_t width; size_t height; size_t pitchInBytes; } pitch2D; } res; }; struct __attribute__((device_builtin)) cudaResourceViewDesc { enum cudaResourceViewFormat format; size_t width; size_t height; size_t depth; unsigned int firstMipmapLevel; unsigned int lastMipmapLevel; unsigned int firstLayer; unsigned int lastLayer; }; struct __attribute__((device_builtin)) cudaPointerAttributes { enum cudaMemoryType memoryType; # 939 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" int device; void *devicePointer; void *hostPointer; }; struct __attribute__((device_builtin)) cudaFuncAttributes { size_t sharedSizeBytes; size_t constSizeBytes; size_t localSizeBytes; int maxThreadsPerBlock; int numRegs; int ptxVersion; int binaryVersion; }; enum __attribute__((device_builtin)) cudaFuncCache { cudaFuncCachePreferNone = 0, cudaFuncCachePreferShared = 1, cudaFuncCachePreferL1 = 2, cudaFuncCachePreferEqual = 3 }; enum __attribute__((device_builtin)) cudaSharedMemConfig { cudaSharedMemBankSizeDefault = 0, cudaSharedMemBankSizeFourByte = 1, cudaSharedMemBankSizeEightByte = 2 }; enum __attribute__((device_builtin)) cudaComputeMode { cudaComputeModeDefault = 0, cudaComputeModeExclusive = 1, cudaComputeModeProhibited = 2, cudaComputeModeExclusiveProcess = 3 }; enum __attribute__((device_builtin)) cudaLimit { cudaLimitStackSize = 0x00, cudaLimitPrintfFifoSize = 0x01, cudaLimitMallocHeapSize = 0x02, cudaLimitDevRuntimeSyncDepth = 0x03, cudaLimitDevRuntimePendingLaunchCount = 0x04 }; enum __attribute__((device_builtin)) cudaOutputMode { cudaKeyValuePair = 0x00, cudaCSV = 0x01 }; enum __attribute__((device_builtin)) cudaDeviceAttr { cudaDevAttrMaxThreadsPerBlock = 1, cudaDevAttrMaxBlockDimX = 2, cudaDevAttrMaxBlockDimY = 3, cudaDevAttrMaxBlockDimZ = 4, cudaDevAttrMaxGridDimX = 5, cudaDevAttrMaxGridDimY = 6, cudaDevAttrMaxGridDimZ = 7, cudaDevAttrMaxSharedMemoryPerBlock = 8, cudaDevAttrTotalConstantMemory = 9, cudaDevAttrWarpSize = 10, cudaDevAttrMaxPitch = 11, cudaDevAttrMaxRegistersPerBlock = 12, cudaDevAttrClockRate = 13, cudaDevAttrTextureAlignment = 14, cudaDevAttrGpuOverlap = 15, cudaDevAttrMultiProcessorCount = 16, cudaDevAttrKernelExecTimeout = 17, cudaDevAttrIntegrated = 18, cudaDevAttrCanMapHostMemory = 19, cudaDevAttrComputeMode = 20, cudaDevAttrMaxTexture1DWidth = 21, cudaDevAttrMaxTexture2DWidth = 22, cudaDevAttrMaxTexture2DHeight = 23, cudaDevAttrMaxTexture3DWidth = 24, cudaDevAttrMaxTexture3DHeight = 25, cudaDevAttrMaxTexture3DDepth = 26, cudaDevAttrMaxTexture2DLayeredWidth = 27, cudaDevAttrMaxTexture2DLayeredHeight = 28, cudaDevAttrMaxTexture2DLayeredLayers = 29, cudaDevAttrSurfaceAlignment = 30, cudaDevAttrConcurrentKernels = 31, cudaDevAttrEccEnabled = 32, cudaDevAttrPciBusId = 33, cudaDevAttrPciDeviceId = 34, cudaDevAttrTccDriver = 35, cudaDevAttrMemoryClockRate = 36, cudaDevAttrGlobalMemoryBusWidth = 37, cudaDevAttrL2CacheSize = 38, cudaDevAttrMaxThreadsPerMultiProcessor = 39, cudaDevAttrAsyncEngineCount = 40, cudaDevAttrUnifiedAddressing = 41, cudaDevAttrMaxTexture1DLayeredWidth = 42, cudaDevAttrMaxTexture1DLayeredLayers = 43, cudaDevAttrMaxTexture2DGatherWidth = 45, cudaDevAttrMaxTexture2DGatherHeight = 46, cudaDevAttrMaxTexture3DWidthAlt = 47, cudaDevAttrMaxTexture3DHeightAlt = 48, cudaDevAttrMaxTexture3DDepthAlt = 49, cudaDevAttrPciDomainId = 50, cudaDevAttrTexturePitchAlignment = 51, cudaDevAttrMaxTextureCubemapWidth = 52, cudaDevAttrMaxTextureCubemapLayeredWidth = 53, cudaDevAttrMaxTextureCubemapLayeredLayers = 54, cudaDevAttrMaxSurface1DWidth = 55, cudaDevAttrMaxSurface2DWidth = 56, cudaDevAttrMaxSurface2DHeight = 57, cudaDevAttrMaxSurface3DWidth = 58, cudaDevAttrMaxSurface3DHeight = 59, cudaDevAttrMaxSurface3DDepth = 60, cudaDevAttrMaxSurface1DLayeredWidth = 61, cudaDevAttrMaxSurface1DLayeredLayers = 62, cudaDevAttrMaxSurface2DLayeredWidth = 63, cudaDevAttrMaxSurface2DLayeredHeight = 64, cudaDevAttrMaxSurface2DLayeredLayers = 65, cudaDevAttrMaxSurfaceCubemapWidth = 66, cudaDevAttrMaxSurfaceCubemapLayeredWidth = 67, cudaDevAttrMaxSurfaceCubemapLayeredLayers = 68, cudaDevAttrMaxTexture1DLinearWidth = 69, cudaDevAttrMaxTexture2DLinearWidth = 70, cudaDevAttrMaxTexture2DLinearHeight = 71, cudaDevAttrMaxTexture2DLinearPitch = 72, cudaDevAttrMaxTexture2DMipmappedWidth = 73, cudaDevAttrMaxTexture2DMipmappedHeight = 74, cudaDevAttrComputeCapabilityMajor = 75, cudaDevAttrComputeCapabilityMinor = 76, cudaDevAttrMaxTexture1DMipmappedWidth = 77, cudaDevAttrStreamPrioritiesSupported = 78 }; struct __attribute__((device_builtin)) cudaDeviceProp { char name[256]; size_t totalGlobalMem; size_t sharedMemPerBlock; int regsPerBlock; int warpSize; size_t memPitch; int maxThreadsPerBlock; int maxThreadsDim[3]; int maxGridSize[3]; int clockRate; size_t totalConstMem; int major; int minor; size_t textureAlignment; size_t texturePitchAlignment; int deviceOverlap; int multiProcessorCount; int kernelExecTimeoutEnabled; int integrated; int canMapHostMemory; int computeMode; int maxTexture1D; int maxTexture1DMipmap; int maxTexture1DLinear; int maxTexture2D[2]; int maxTexture2DMipmap[2]; int maxTexture2DLinear[3]; int maxTexture2DGather[2]; int maxTexture3D[3]; int maxTexture3DAlt[3]; int maxTextureCubemap; int maxTexture1DLayered[2]; int maxTexture2DLayered[3]; int maxTextureCubemapLayered[2]; int maxSurface1D; int maxSurface2D[2]; int maxSurface3D[3]; int maxSurface1DLayered[2]; int maxSurface2DLayered[3]; int maxSurfaceCubemap; int maxSurfaceCubemapLayered[2]; size_t surfaceAlignment; int concurrentKernels; int ECCEnabled; int pciBusID; int pciDeviceID; int pciDomainID; int tccDriver; int asyncEngineCount; int unifiedAddressing; int memoryClockRate; int memoryBusWidth; int l2CacheSize; int maxThreadsPerMultiProcessor; int streamPrioritiesSupported; }; # 1271 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" typedef __attribute__((device_builtin)) struct __attribute__((device_builtin)) cudaIpcEventHandle_st { char reserved[64]; }cudaIpcEventHandle_t; typedef __attribute__((device_builtin)) struct __attribute__((device_builtin)) cudaIpcMemHandle_st { char reserved[64]; }cudaIpcMemHandle_t; # 1293 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_types.h" typedef __attribute__((device_builtin)) enum cudaError cudaError_t; typedef __attribute__((device_builtin)) struct CUstream_st *cudaStream_t; typedef __attribute__((device_builtin)) struct CUevent_st *cudaEvent_t; typedef __attribute__((device_builtin)) struct cudaGraphicsResource *cudaGraphicsResource_t; typedef __attribute__((device_builtin)) struct CUuuid_st cudaUUID_t; typedef __attribute__((device_builtin)) enum cudaOutputMode cudaOutputMode_t; # 58 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_types.h" 1 # 84 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_types.h" enum __attribute__((device_builtin)) cudaSurfaceBoundaryMode { cudaBoundaryModeZero = 0, cudaBoundaryModeClamp = 1, cudaBoundaryModeTrap = 2 }; enum __attribute__((device_builtin)) cudaSurfaceFormatMode { cudaFormatModeForced = 0, cudaFormatModeAuto = 1 }; struct __attribute__((device_builtin)) surfaceReference { struct cudaChannelFormatDesc channelDesc; }; typedef __attribute__((device_builtin)) unsigned long long cudaSurfaceObject_t; # 59 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_types.h" 1 # 84 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_types.h" enum __attribute__((device_builtin)) cudaTextureAddressMode { cudaAddressModeWrap = 0, cudaAddressModeClamp = 1, cudaAddressModeMirror = 2, cudaAddressModeBorder = 3 }; enum __attribute__((device_builtin)) cudaTextureFilterMode { cudaFilterModePoint = 0, cudaFilterModeLinear = 1 }; enum __attribute__((device_builtin)) cudaTextureReadMode { cudaReadModeElementType = 0, cudaReadModeNormalizedFloat = 1 }; struct __attribute__((device_builtin)) textureReference { int normalized; enum cudaTextureFilterMode filterMode; enum cudaTextureAddressMode addressMode[3]; struct cudaChannelFormatDesc channelDesc; int sRGB; unsigned int maxAnisotropy; enum cudaTextureFilterMode mipmapFilterMode; float mipmapLevelBias; float minMipmapLevelClamp; float maxMipmapLevelClamp; int __cudaReserved[15]; }; struct __attribute__((device_builtin)) cudaTextureDesc { enum cudaTextureAddressMode addressMode[3]; enum cudaTextureFilterMode filterMode; enum cudaTextureReadMode readMode; int sRGB; int normalizedCoords; unsigned int maxAnisotropy; enum cudaTextureFilterMode mipmapFilterMode; float mipmapLevelBias; float minMipmapLevelClamp; float maxMipmapLevelClamp; }; typedef __attribute__((device_builtin)) unsigned long long cudaTextureObject_t; # 60 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_types.h" 1 # 60 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_types.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 60 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_types.h" 1 # 60 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 2 # 61 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_types.h" 2 # 96 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_types.h" struct __attribute__((device_builtin)) char1 { signed char x; }; struct __attribute__((device_builtin)) uchar1 { unsigned char x; }; struct __attribute__((device_builtin)) __attribute__((aligned(2))) char2 { signed char x, y; }; struct __attribute__((device_builtin)) __attribute__((aligned(2))) uchar2 { unsigned char x, y; }; struct __attribute__((device_builtin)) char3 { signed char x, y, z; }; struct __attribute__((device_builtin)) uchar3 { unsigned char x, y, z; }; struct __attribute__((device_builtin)) __attribute__((aligned(4))) char4 { signed char x, y, z, w; }; struct __attribute__((device_builtin)) __attribute__((aligned(4))) uchar4 { unsigned char x, y, z, w; }; struct __attribute__((device_builtin)) short1 { short x; }; struct __attribute__((device_builtin)) ushort1 { unsigned short x; }; struct __attribute__((device_builtin)) __attribute__((aligned(4))) short2 { short x, y; }; struct __attribute__((device_builtin)) __attribute__((aligned(4))) ushort2 { unsigned short x, y; }; struct __attribute__((device_builtin)) short3 { short x, y, z; }; struct __attribute__((device_builtin)) ushort3 { unsigned short x, y, z; }; struct __attribute__((device_builtin)) __attribute__((aligned(8))) short4 { short x; short y; short z; short w; }; struct __attribute__((device_builtin)) __attribute__((aligned(8))) ushort4 { unsigned short x; unsigned short y; unsigned short z; unsigned short w; }; struct __attribute__((device_builtin)) int1 { int x; }; struct __attribute__((device_builtin)) uint1 { unsigned int x; }; struct __attribute__((device_builtin)) __attribute__((aligned(8))) int2 { int x; int y; }; struct __attribute__((device_builtin)) __attribute__((aligned(8))) uint2 { unsigned int x; unsigned int y; }; struct __attribute__((device_builtin)) int3 { int x, y, z; }; struct __attribute__((device_builtin)) uint3 { unsigned int x, y, z; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) int4 { int x, y, z, w; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) uint4 { unsigned int x, y, z, w; }; struct __attribute__((device_builtin)) long1 { long int x; }; struct __attribute__((device_builtin)) ulong1 { unsigned long x; }; struct __attribute__((device_builtin)) __attribute__((aligned(2*sizeof(long int)))) long2 { long int x, y; }; struct __attribute__((device_builtin)) __attribute__((aligned(2*sizeof(unsigned long int)))) ulong2 { unsigned long int x, y; }; struct __attribute__((device_builtin)) long3 { long int x, y, z; }; struct __attribute__((device_builtin)) ulong3 { unsigned long int x, y, z; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) long4 { long int x, y, z, w; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) ulong4 { unsigned long int x, y, z, w; }; struct __attribute__((device_builtin)) float1 { float x; }; # 272 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_types.h" struct __attribute__((device_builtin)) __attribute__((aligned(8))) float2 { float x; float y; }; struct __attribute__((device_builtin)) float3 { float x, y, z; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) float4 { float x, y, z, w; }; struct __attribute__((device_builtin)) longlong1 { long long int x; }; struct __attribute__((device_builtin)) ulonglong1 { unsigned long long int x; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) longlong2 { long long int x, y; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) ulonglong2 { unsigned long long int x, y; }; struct __attribute__((device_builtin)) longlong3 { long long int x, y, z; }; struct __attribute__((device_builtin)) ulonglong3 { unsigned long long int x, y, z; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) longlong4 { long long int x, y, z ,w; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) ulonglong4 { unsigned long long int x, y, z, w; }; struct __attribute__((device_builtin)) double1 { double x; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) double2 { double x, y; }; struct __attribute__((device_builtin)) double3 { double x, y, z; }; struct __attribute__((device_builtin)) __attribute__((aligned(16))) double4 { double x, y, z, w; }; # 360 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_types.h" typedef __attribute__((device_builtin)) struct char1 char1; typedef __attribute__((device_builtin)) struct uchar1 uchar1; typedef __attribute__((device_builtin)) struct char2 char2; typedef __attribute__((device_builtin)) struct uchar2 uchar2; typedef __attribute__((device_builtin)) struct char3 char3; typedef __attribute__((device_builtin)) struct uchar3 uchar3; typedef __attribute__((device_builtin)) struct char4 char4; typedef __attribute__((device_builtin)) struct uchar4 uchar4; typedef __attribute__((device_builtin)) struct short1 short1; typedef __attribute__((device_builtin)) struct ushort1 ushort1; typedef __attribute__((device_builtin)) struct short2 short2; typedef __attribute__((device_builtin)) struct ushort2 ushort2; typedef __attribute__((device_builtin)) struct short3 short3; typedef __attribute__((device_builtin)) struct ushort3 ushort3; typedef __attribute__((device_builtin)) struct short4 short4; typedef __attribute__((device_builtin)) struct ushort4 ushort4; typedef __attribute__((device_builtin)) struct int1 int1; typedef __attribute__((device_builtin)) struct uint1 uint1; typedef __attribute__((device_builtin)) struct int2 int2; typedef __attribute__((device_builtin)) struct uint2 uint2; typedef __attribute__((device_builtin)) struct int3 int3; typedef __attribute__((device_builtin)) struct uint3 uint3; typedef __attribute__((device_builtin)) struct int4 int4; typedef __attribute__((device_builtin)) struct uint4 uint4; typedef __attribute__((device_builtin)) struct long1 long1; typedef __attribute__((device_builtin)) struct ulong1 ulong1; typedef __attribute__((device_builtin)) struct long2 long2; typedef __attribute__((device_builtin)) struct ulong2 ulong2; typedef __attribute__((device_builtin)) struct long3 long3; typedef __attribute__((device_builtin)) struct ulong3 ulong3; typedef __attribute__((device_builtin)) struct long4 long4; typedef __attribute__((device_builtin)) struct ulong4 ulong4; typedef __attribute__((device_builtin)) struct float1 float1; typedef __attribute__((device_builtin)) struct float2 float2; typedef __attribute__((device_builtin)) struct float3 float3; typedef __attribute__((device_builtin)) struct float4 float4; typedef __attribute__((device_builtin)) struct longlong1 longlong1; typedef __attribute__((device_builtin)) struct ulonglong1 ulonglong1; typedef __attribute__((device_builtin)) struct longlong2 longlong2; typedef __attribute__((device_builtin)) struct ulonglong2 ulonglong2; typedef __attribute__((device_builtin)) struct longlong3 longlong3; typedef __attribute__((device_builtin)) struct ulonglong3 ulonglong3; typedef __attribute__((device_builtin)) struct longlong4 longlong4; typedef __attribute__((device_builtin)) struct ulonglong4 ulonglong4; typedef __attribute__((device_builtin)) struct double1 double1; typedef __attribute__((device_builtin)) struct double2 double2; typedef __attribute__((device_builtin)) struct double3 double3; typedef __attribute__((device_builtin)) struct double4 double4; struct __attribute__((device_builtin)) dim3 { unsigned int x, y, z; __attribute__((host)) __attribute__((device)) dim3(unsigned int vx = 1, unsigned int vy = 1, unsigned int vz = 1) : x(vx), y(vy), z(vz) {} __attribute__((host)) __attribute__((device)) dim3(uint3 v) : x(v.x), y(v.y), z(v.z) {} __attribute__((host)) __attribute__((device)) operator uint3(void) { uint3 t; t.x = x; t.y = y; t.z = z; return t; } }; typedef __attribute__((device_builtin)) struct dim3 dim3; # 60 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 2 # 68 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/channel_descriptor.h" 1 # 62 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/channel_descriptor.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" 1 # 143 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 144 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_device_runtime_api.h" 1 # 145 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" 2 # 164 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern "C" { # 193 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDeviceReset(void); # 210 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaDeviceSynchronize(void); # 295 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDeviceSetLimit(enum cudaLimit limit, size_t value); # 324 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaDeviceGetLimit(size_t *pValue, enum cudaLimit limit); # 355 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaDeviceGetCacheConfig(enum cudaFuncCache *pCacheConfig); # 390 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaDeviceGetStreamPriorityRange(int *leastPriority, int *greatestPriority); # 432 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDeviceSetCacheConfig(enum cudaFuncCache cacheConfig); # 461 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaDeviceGetSharedMemConfig(enum cudaSharedMemConfig *pConfig); # 503 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDeviceSetSharedMemConfig(enum cudaSharedMemConfig config); # 526 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDeviceGetByPCIBusId(int *device, char *pciBusId); # 553 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDeviceGetPCIBusId(char *pciBusId, int len, int device); # 595 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaIpcGetEventHandle(cudaIpcEventHandle_t *handle, cudaEvent_t event); # 630 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaIpcOpenEventHandle(cudaEvent_t *event, cudaIpcEventHandle_t handle); # 668 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaIpcGetMemHandle(cudaIpcMemHandle_t *handle, void *devPtr); # 718 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaIpcOpenMemHandle(void **devPtr, cudaIpcMemHandle_t handle, unsigned int flags); # 748 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaIpcCloseMemHandle(void *devPtr); # 784 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaThreadExit(void); # 808 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaThreadSynchronize(void); # 867 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaThreadSetLimit(enum cudaLimit limit, size_t value); # 898 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaThreadGetLimit(size_t *pValue, enum cudaLimit limit); # 933 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaThreadGetCacheConfig(enum cudaFuncCache *pCacheConfig); # 979 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaThreadSetCacheConfig(enum cudaFuncCache cacheConfig); # 1029 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaGetLastError(void); # 1070 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaPeekAtLastError(void); # 1084 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) const char* cudaGetErrorString(cudaError_t error); # 1114 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaGetDeviceCount(int *count); # 1329 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaGetDeviceProperties(struct cudaDeviceProp *prop, int device); # 1476 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaDeviceGetAttribute(int *value, enum cudaDeviceAttr attr, int device); # 1495 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaChooseDevice(int *device, const struct cudaDeviceProp *prop); # 1529 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaSetDevice(int device); # 1546 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaGetDevice(int *device); # 1575 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaSetValidDevices(int *device_arr, int len); # 1635 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaSetDeviceFlags( unsigned int flags ); # 1669 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaStreamCreate(cudaStream_t *pStream); # 1698 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaStreamCreateWithFlags(cudaStream_t *pStream, unsigned int flags); # 1741 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaStreamCreateWithPriority(cudaStream_t *pStream, unsigned int flags, int priority); # 1765 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaStreamGetPriority(cudaStream_t hStream, int *priority); # 1786 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaStreamGetFlags(cudaStream_t hStream, unsigned int *flags); # 1807 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaStreamDestroy(cudaStream_t stream); # 1842 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaStreamWaitEvent(cudaStream_t stream, cudaEvent_t event, unsigned int flags); # 1856 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" typedef void ( *cudaStreamCallback_t)(cudaStream_t stream, cudaError_t status, void *userData); # 1894 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaStreamAddCallback(cudaStream_t stream, cudaStreamCallback_t callback, void *userData, unsigned int flags); # 1914 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaStreamSynchronize(cudaStream_t stream); # 1932 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaStreamQuery(cudaStream_t stream); # 1964 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaEventCreate(cudaEvent_t *event); # 1998 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaEventCreateWithFlags(cudaEvent_t *event, unsigned int flags); # 2031 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaEventRecord(cudaEvent_t event, cudaStream_t stream = 0); # 2060 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaEventQuery(cudaEvent_t event); # 2092 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaEventSynchronize(cudaEvent_t event); # 2117 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaEventDestroy(cudaEvent_t event); # 2158 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaEventElapsedTime(float *ms, cudaEvent_t start, cudaEvent_t end); # 2200 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaConfigureCall(dim3 gridDim, dim3 blockDim, size_t sharedMem = 0, cudaStream_t stream = 0); # 2227 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaSetupArgument(const void *arg, size_t size, size_t offset); # 2273 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaFuncSetCacheConfig(const void *func, enum cudaFuncCache cacheConfig); # 2324 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaFuncSetSharedMemConfig(const void *func, enum cudaSharedMemConfig config); # 2359 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaLaunch(const void *func); # 2392 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaFuncGetAttributes(struct cudaFuncAttributes *attr, const void *func); # 2414 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaSetDoubleForDevice(double *d); # 2436 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaSetDoubleForHost(double *d); # 2471 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaMalloc(void **devPtr, size_t size); # 2500 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMallocHost(void **ptr, size_t size); # 2539 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMallocPitch(void **devPtr, size_t *pitch, size_t width, size_t height); # 2581 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMallocArray(cudaArray_t *array, const struct cudaChannelFormatDesc *desc, size_t width, size_t height = 0, unsigned int flags = 0); # 2605 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaFree(void *devPtr); # 2625 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaFreeHost(void *ptr); # 2647 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaFreeArray(cudaArray_t array); # 2669 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaFreeMipmappedArray(cudaMipmappedArray_t mipmappedArray); # 2728 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaHostAlloc(void **pHost, size_t size, unsigned int flags); # 2781 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaHostRegister(void *ptr, size_t size, unsigned int flags); # 2800 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaHostUnregister(void *ptr); # 2827 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaHostGetDevicePointer(void **pDevice, void *pHost, unsigned int flags); # 2846 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaHostGetFlags(unsigned int *pFlags, void *pHost); # 2881 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMalloc3D(struct cudaPitchedPtr* pitchedDevPtr, struct cudaExtent extent); # 3016 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMalloc3DArray(cudaArray_t *array, const struct cudaChannelFormatDesc* desc, struct cudaExtent extent, unsigned int flags = 0); # 3137 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMallocMipmappedArray(cudaMipmappedArray_t *mipmappedArray, const struct cudaChannelFormatDesc* desc, struct cudaExtent extent, unsigned int numLevels, unsigned int flags = 0); # 3163 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetMipmappedArrayLevel(cudaArray_t *levelArray, cudaMipmappedArray_const_t mipmappedArray, unsigned int level); # 3260 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpy3D(const struct cudaMemcpy3DParms *p); # 3288 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpy3DPeer(const struct cudaMemcpy3DPeerParms *p); # 3392 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaMemcpy3DAsync(const struct cudaMemcpy3DParms *p, cudaStream_t stream = 0); # 3414 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpy3DPeerAsync(const struct cudaMemcpy3DPeerParms *p, cudaStream_t stream = 0); # 3433 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemGetInfo(size_t *free, size_t *total); # 3454 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaArrayGetInfo(struct cudaChannelFormatDesc *desc, struct cudaExtent *extent, unsigned int *flags, cudaArray_t array); # 3489 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpy(void *dst, const void *src, size_t count, enum cudaMemcpyKind kind); # 3521 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyPeer(void *dst, int dstDevice, const void *src, int srcDevice, size_t count); # 3555 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyToArray(cudaArray_t dst, size_t wOffset, size_t hOffset, const void *src, size_t count, enum cudaMemcpyKind kind); # 3589 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyFromArray(void *dst, cudaArray_const_t src, size_t wOffset, size_t hOffset, size_t count, enum cudaMemcpyKind kind); # 3624 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyArrayToArray(cudaArray_t dst, size_t wOffsetDst, size_t hOffsetDst, cudaArray_const_t src, size_t wOffsetSrc, size_t hOffsetSrc, size_t count, enum cudaMemcpyKind kind = cudaMemcpyDeviceToDevice); # 3666 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpy2D(void *dst, size_t dpitch, const void *src, size_t spitch, size_t width, size_t height, enum cudaMemcpyKind kind); # 3708 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpy2DToArray(cudaArray_t dst, size_t wOffset, size_t hOffset, const void *src, size_t spitch, size_t width, size_t height, enum cudaMemcpyKind kind); # 3750 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpy2DFromArray(void *dst, size_t dpitch, cudaArray_const_t src, size_t wOffset, size_t hOffset, size_t width, size_t height, enum cudaMemcpyKind kind); # 3790 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpy2DArrayToArray(cudaArray_t dst, size_t wOffsetDst, size_t hOffsetDst, cudaArray_const_t src, size_t wOffsetSrc, size_t hOffsetSrc, size_t width, size_t height, enum cudaMemcpyKind kind = cudaMemcpyDeviceToDevice); # 3825 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyToSymbol(const void *symbol, const void *src, size_t count, size_t offset = 0, enum cudaMemcpyKind kind = cudaMemcpyHostToDevice); # 3860 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyFromSymbol(void *dst, const void *symbol, size_t count, size_t offset = 0, enum cudaMemcpyKind kind = cudaMemcpyDeviceToHost); # 3902 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaMemcpyAsync(void *dst, const void *src, size_t count, enum cudaMemcpyKind kind, cudaStream_t stream = 0); # 3933 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t count, cudaStream_t stream = 0); # 3974 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyToArrayAsync(cudaArray_t dst, size_t wOffset, size_t hOffset, const void *src, size_t count, enum cudaMemcpyKind kind, cudaStream_t stream = 0); # 4015 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyFromArrayAsync(void *dst, cudaArray_const_t src, size_t wOffset, size_t hOffset, size_t count, enum cudaMemcpyKind kind, cudaStream_t stream = 0); # 4066 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaMemcpy2DAsync(void *dst, size_t dpitch, const void *src, size_t spitch, size_t width, size_t height, enum cudaMemcpyKind kind, cudaStream_t stream = 0); # 4116 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpy2DToArrayAsync(cudaArray_t dst, size_t wOffset, size_t hOffset, const void *src, size_t spitch, size_t width, size_t height, enum cudaMemcpyKind kind, cudaStream_t stream = 0); # 4165 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpy2DFromArrayAsync(void *dst, size_t dpitch, cudaArray_const_t src, size_t wOffset, size_t hOffset, size_t width, size_t height, enum cudaMemcpyKind kind, cudaStream_t stream = 0); # 4207 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyToSymbolAsync(const void *symbol, const void *src, size_t count, size_t offset, enum cudaMemcpyKind kind, cudaStream_t stream = 0); # 4249 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemcpyFromSymbolAsync(void *dst, const void *symbol, size_t count, size_t offset, enum cudaMemcpyKind kind, cudaStream_t stream = 0); # 4275 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemset(void *devPtr, int value, size_t count); # 4305 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemset2D(void *devPtr, size_t pitch, int value, size_t width, size_t height); # 4348 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaMemset3D(struct cudaPitchedPtr pitchedDevPtr, int value, struct cudaExtent extent); # 4376 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaMemsetAsync(void *devPtr, int value, size_t count, cudaStream_t stream = 0); # 4409 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaMemset2DAsync(void *devPtr, size_t pitch, int value, size_t width, size_t height, cudaStream_t stream = 0); # 4455 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaMemset3DAsync(struct cudaPitchedPtr pitchedDevPtr, int value, struct cudaExtent extent, cudaStream_t stream = 0); # 4478 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetSymbolAddress(void **devPtr, const void *symbol); # 4500 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetSymbolSize(size_t *size, const void *symbol); # 4644 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaPointerGetAttributes(struct cudaPointerAttributes *attributes, const void *ptr); # 4678 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice); # 4715 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDeviceEnablePeerAccess(int peerDevice, unsigned int flags); # 4734 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDeviceDisablePeerAccess(int peerDevice); # 4788 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGraphicsUnregisterResource(cudaGraphicsResource_t resource); # 4820 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGraphicsResourceSetMapFlags(cudaGraphicsResource_t resource, unsigned int flags); # 4855 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGraphicsMapResources(int count, cudaGraphicsResource_t *resources, cudaStream_t stream = 0); # 4886 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGraphicsUnmapResources(int count, cudaGraphicsResource_t *resources, cudaStream_t stream = 0); # 4915 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGraphicsResourceGetMappedPointer(void **devPtr, size_t *size, cudaGraphicsResource_t resource); # 4949 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGraphicsSubResourceGetMappedArray(cudaArray_t *array, cudaGraphicsResource_t resource, unsigned int arrayIndex, unsigned int mipLevel); # 4974 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGraphicsResourceGetMappedMipmappedArray(cudaMipmappedArray_t *mipmappedArray, cudaGraphicsResource_t resource); # 5010 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetChannelDesc(struct cudaChannelFormatDesc *desc, cudaArray_const_t array); # 5045 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) struct cudaChannelFormatDesc cudaCreateChannelDesc(int x, int y, int z, int w, enum cudaChannelFormatKind f); # 5092 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaBindTexture(size_t *offset, const struct textureReference *texref, const void *devPtr, const struct cudaChannelFormatDesc *desc, size_t size = (2147483647 * 2U + 1U)); # 5143 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaBindTexture2D(size_t *offset, const struct textureReference *texref, const void *devPtr, const struct cudaChannelFormatDesc *desc, size_t width, size_t height, size_t pitch); # 5171 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaBindTextureToArray(const struct textureReference *texref, cudaArray_const_t array, const struct cudaChannelFormatDesc *desc); # 5199 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaBindTextureToMipmappedArray(const struct textureReference *texref, cudaMipmappedArray_const_t mipmappedArray, const struct cudaChannelFormatDesc *desc); # 5220 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaUnbindTexture(const struct textureReference *texref); # 5245 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetTextureAlignmentOffset(size_t *offset, const struct textureReference *texref); # 5270 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetTextureReference(const struct textureReference **texref, const void *symbol); # 5306 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaBindSurfaceToArray(const struct surfaceReference *surfref, cudaArray_const_t array, const struct cudaChannelFormatDesc *desc); # 5325 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetSurfaceReference(const struct surfaceReference **surfref, const void *symbol); # 5536 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaCreateTextureObject(cudaTextureObject_t *pTexObject, const struct cudaResourceDesc *pResDesc, const struct cudaTextureDesc *pTexDesc, const struct cudaResourceViewDesc *pResViewDesc); # 5551 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDestroyTextureObject(cudaTextureObject_t texObject); # 5567 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetTextureObjectResourceDesc(struct cudaResourceDesc *pResDesc, cudaTextureObject_t texObject); # 5583 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetTextureObjectTextureDesc(struct cudaTextureDesc *pTexDesc, cudaTextureObject_t texObject); # 5600 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetTextureObjectResourceViewDesc(struct cudaResourceViewDesc *pResViewDesc, cudaTextureObject_t texObject); # 5633 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaCreateSurfaceObject(cudaSurfaceObject_t *pSurfObject, const struct cudaResourceDesc *pResDesc); # 5648 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDestroySurfaceObject(cudaSurfaceObject_t surfObject); # 5663 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaGetSurfaceObjectResourceDesc(struct cudaResourceDesc *pResDesc, cudaSurfaceObject_t surfObject); # 5690 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) cudaError_t cudaDriverGetVersion(int *driverVersion); # 5707 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" extern __attribute__((host)) __attribute__((cudart_builtin)) cudaError_t cudaRuntimeGetVersion(int *runtimeVersion); extern __attribute__((host)) cudaError_t cudaGetExportTable(const void **ppExportTable, const cudaUUID_t *pExportTableId); # 5840 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime_api.h" } # 63 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/channel_descriptor.h" 2 # 107 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/channel_descriptor.h" template __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { return cudaCreateChannelDesc(0, 0, 0, 0, cudaChannelFormatKindNone); } static __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDescHalf(void) { int e = (int)sizeof(unsigned short) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindFloat); } static __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDescHalf1(void) { int e = (int)sizeof(unsigned short) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindFloat); } static __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDescHalf2(void) { int e = (int)sizeof(unsigned short) * 8; return cudaCreateChannelDesc(e, e, 0, 0, cudaChannelFormatKindFloat); } static __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDescHalf4(void) { int e = (int)sizeof(unsigned short) * 8; return cudaCreateChannelDesc(e, e, e, e, cudaChannelFormatKindFloat); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(char) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(signed char) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned char) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(signed char) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned char) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(signed char) * 8; return cudaCreateChannelDesc(e, e, 0, 0, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned char) * 8; return cudaCreateChannelDesc(e, e, 0, 0, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(signed char) * 8; return cudaCreateChannelDesc(e, e, e, e, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned char) * 8; return cudaCreateChannelDesc(e, e, e, e, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(short) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned short) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(short) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned short) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(short) * 8; return cudaCreateChannelDesc(e, e, 0, 0, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned short) * 8; return cudaCreateChannelDesc(e, e, 0, 0, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(short) * 8; return cudaCreateChannelDesc(e, e, e, e, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned short) * 8; return cudaCreateChannelDesc(e, e, e, e, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(int) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned int) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(int) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned int) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(int) * 8; return cudaCreateChannelDesc(e, e, 0, 0, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned int) * 8; return cudaCreateChannelDesc(e, e, 0, 0, cudaChannelFormatKindUnsigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(int) * 8; return cudaCreateChannelDesc(e, e, e, e, cudaChannelFormatKindSigned); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(unsigned int) * 8; return cudaCreateChannelDesc(e, e, e, e, cudaChannelFormatKindUnsigned); } # 379 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/channel_descriptor.h" template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(float) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindFloat); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(float) * 8; return cudaCreateChannelDesc(e, 0, 0, 0, cudaChannelFormatKindFloat); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(float) * 8; return cudaCreateChannelDesc(e, e, 0, 0, cudaChannelFormatKindFloat); } template<> __inline__ __attribute__((host)) cudaChannelFormatDesc cudaCreateChannelDesc(void) { int e = (int)sizeof(float) * 8; return cudaCreateChannelDesc(e, e, e, e, cudaChannelFormatKindFloat); } # 69 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_functions.h" 1 # 53 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_functions.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 54 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_functions.h" 2 # 79 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_functions.h" static __inline__ __attribute__((host)) struct cudaPitchedPtr make_cudaPitchedPtr(void *d, size_t p, size_t xsz, size_t ysz) { struct cudaPitchedPtr s; s.ptr = d; s.pitch = p; s.xsize = xsz; s.ysize = ysz; return s; } # 106 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_functions.h" static __inline__ __attribute__((host)) struct cudaPos make_cudaPos(size_t x, size_t y, size_t z) { struct cudaPos p; p.x = x; p.y = y; p.z = z; return p; } # 132 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/driver_functions.h" static __inline__ __attribute__((host)) struct cudaExtent make_cudaExtent(size_t w, size_t h, size_t d) { struct cudaExtent e; e.width = w; e.height = h; e.depth = d; return e; } # 71 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_functions.h" 1 # 59 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_functions.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 60 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_functions.h" 2 # 69 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/vector_functions.h" static __inline__ __attribute__((host)) __attribute__((device)) char1 make_char1(signed char x) { char1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) uchar1 make_uchar1(unsigned char x) { uchar1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) char2 make_char2(signed char x, signed char y) { char2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) uchar2 make_uchar2(unsigned char x, unsigned char y) { uchar2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) char3 make_char3(signed char x, signed char y, signed char z) { char3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) uchar3 make_uchar3(unsigned char x, unsigned char y, unsigned char z) { uchar3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) char4 make_char4(signed char x, signed char y, signed char z, signed char w) { char4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) uchar4 make_uchar4(unsigned char x, unsigned char y, unsigned char z, unsigned char w) { uchar4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) short1 make_short1(short x) { short1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ushort1 make_ushort1(unsigned short x) { ushort1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) short2 make_short2(short x, short y) { short2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ushort2 make_ushort2(unsigned short x, unsigned short y) { ushort2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) short3 make_short3(short x,short y, short z) { short3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ushort3 make_ushort3(unsigned short x, unsigned short y, unsigned short z) { ushort3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) short4 make_short4(short x, short y, short z, short w) { short4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ushort4 make_ushort4(unsigned short x, unsigned short y, unsigned short z, unsigned short w) { ushort4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) int1 make_int1(int x) { int1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) uint1 make_uint1(unsigned int x) { uint1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) int2 make_int2(int x, int y) { int2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) uint2 make_uint2(unsigned int x, unsigned int y) { uint2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) int3 make_int3(int x, int y, int z) { int3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) uint3 make_uint3(unsigned int x, unsigned int y, unsigned int z) { uint3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) int4 make_int4(int x, int y, int z, int w) { int4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) uint4 make_uint4(unsigned int x, unsigned int y, unsigned int z, unsigned int w) { uint4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) long1 make_long1(long int x) { long1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ulong1 make_ulong1(unsigned long int x) { ulong1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) long2 make_long2(long int x, long int y) { long2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ulong2 make_ulong2(unsigned long int x, unsigned long int y) { ulong2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) long3 make_long3(long int x, long int y, long int z) { long3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ulong3 make_ulong3(unsigned long int x, unsigned long int y, unsigned long int z) { ulong3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) long4 make_long4(long int x, long int y, long int z, long int w) { long4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ulong4 make_ulong4(unsigned long int x, unsigned long int y, unsigned long int z, unsigned long int w) { ulong4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) float1 make_float1(float x) { float1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) float2 make_float2(float x, float y) { float2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) float3 make_float3(float x, float y, float z) { float3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) float4 make_float4(float x, float y, float z, float w) { float4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) longlong1 make_longlong1(long long int x) { longlong1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ulonglong1 make_ulonglong1(unsigned long long int x) { ulonglong1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) longlong2 make_longlong2(long long int x, long long int y) { longlong2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ulonglong2 make_ulonglong2(unsigned long long int x, unsigned long long int y) { ulonglong2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) longlong3 make_longlong3(long long int x, long long int y, long long int z) { longlong3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ulonglong3 make_ulonglong3(unsigned long long int x, unsigned long long int y, unsigned long long int z) { ulonglong3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) longlong4 make_longlong4(long long int x, long long int y, long long int z, long long int w) { longlong4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) ulonglong4 make_ulonglong4(unsigned long long int x, unsigned long long int y, unsigned long long int z, unsigned long long int w) { ulonglong4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } static __inline__ __attribute__((host)) __attribute__((device)) double1 make_double1(double x) { double1 t; t.x = x; return t; } static __inline__ __attribute__((host)) __attribute__((device)) double2 make_double2(double x, double y) { double2 t; t.x = x; t.y = y; return t; } static __inline__ __attribute__((host)) __attribute__((device)) double3 make_double3(double x, double y, double z) { double3 t; t.x = x; t.y = y; t.z = z; return t; } static __inline__ __attribute__((host)) __attribute__((device)) double4 make_double4(double x, double y, double z, double w) { double4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; } # 73 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/common_functions.h" 1 # 61 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/common_functions.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 62 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/common_functions.h" 2 # 1 "/usr/include/string.h" 1 3 4 # 28 "/usr/include/string.h" 3 4 extern "C" { # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 34 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 94 "/usr/include/string.h" 3 4 extern void *memchr (__const void *__s, int __c, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 108 "/usr/include/string.h" 3 4 extern void *rawmemchr (__const void *__s, int __c) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 119 "/usr/include/string.h" 3 4 extern void *memrchr (__const void *__s, int __c, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (2))); # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 162 "/usr/include/string.h" 2 3 4 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, __locale_t __l) throw () __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (__const char *__s) throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (__const char *__string, size_t __n) throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 208 "/usr/include/string.h" 3 4 # 233 "/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 260 "/usr/include/string.h" 3 4 extern char *strrchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 274 "/usr/include/string.h" 3 4 extern char *strchrnul (__const char *__s, int __c) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strcspn (__const char *__s, __const char *__reject) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 312 "/usr/include/string.h" 3 4 extern char *strpbrk (__const char *__s, __const char *__accept) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 340 "/usr/include/string.h" 3 4 extern char *strstr (__const char *__haystack, __const char *__needle) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) throw () __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) throw () __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) throw () __attribute__ ((__nonnull__ (2, 3))); # 371 "/usr/include/string.h" 3 4 extern char *strcasestr (__const char *__haystack, __const char *__needle) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmem (__const void *__haystack, size_t __haystacklen, __const void *__needle, size_t __needlelen) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); extern void *__mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern size_t strlen (__const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (__const char *__string, size_t __maxlen) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) throw (); # 436 "/usr/include/string.h" 3 4 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern char *strerror_l (int __errnum, __locale_t __l) throw (); extern void __bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); extern void bcopy (__const void *__src, void *__dest, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 487 "/usr/include/string.h" 3 4 extern char *index (__const char *__s, int __c) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 515 "/usr/include/string.h" 3 4 extern char *rindex (__const char *__s, int __c) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) throw () __attribute__ ((__const__)); extern int ffsl (long int __l) throw () __attribute__ ((__const__)); __extension__ extern int ffsll (long long int __ll) throw () __attribute__ ((__const__)); extern int strcasecmp (__const char *__s1, __const char *__s2) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcasecmp_l (__const char *__s1, __const char *__s2, __locale_t __loc) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (__const char *__s1, __const char *__s2, size_t __n, __locale_t __loc) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) throw (); extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern int strverscmp (__const char *__s1, __const char *__s2) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strfry (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern void *memfrob (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); # 604 "/usr/include/string.h" 3 4 extern char *basename (__const char *__filename) throw () __attribute__ ((__nonnull__ (1))); # 644 "/usr/include/string.h" 3 4 } # 65 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/common_functions.h" 2 # 1 "/usr/include/time.h" 1 3 4 # 30 "/usr/include/time.h" 3 4 extern "C" { # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 39 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 43 "/usr/include/time.h" 2 3 4 # 56 "/usr/include/time.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 57 "/usr/include/time.h" 2 3 4 typedef __clock_t clock_t; # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; __const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; typedef __pid_t pid_t; extern clock_t clock (void) throw (); extern time_t time (time_t *__timer) throw (); extern double difftime (time_t __time1, time_t __time0) throw () __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) throw (); extern size_t strftime (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp) throw (); extern char *strptime (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp) throw (); extern size_t strftime_l (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp, __locale_t __loc) throw (); extern char *strptime_l (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp, __locale_t __loc) throw (); extern struct tm *gmtime (__const time_t *__timer) throw (); extern struct tm *localtime (__const time_t *__timer) throw (); extern struct tm *gmtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) throw (); extern struct tm *localtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) throw (); extern char *asctime (__const struct tm *__tp) throw (); extern char *ctime (__const time_t *__timer) throw (); extern char *asctime_r (__const struct tm *__restrict __tp, char *__restrict __buf) throw (); extern char *ctime_r (__const time_t *__restrict __timer, char *__restrict __buf) throw (); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) throw (); extern int daylight; extern long int timezone; extern int stime (__const time_t *__when) throw (); # 313 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) throw (); extern time_t timelocal (struct tm *__tp) throw (); extern int dysize (int __year) throw () __attribute__ ((__const__)); # 328 "/usr/include/time.h" 3 4 extern int nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw (); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw (); extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) throw (); extern int clock_nanosleep (clockid_t __clock_id, int __flags, __const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw (); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) throw (); extern int timer_delete (timer_t __timerid) throw (); extern int timer_settime (timer_t __timerid, int __flags, __const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) throw (); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) throw (); extern int timer_getoverrun (timer_t __timerid) throw (); # 390 "/usr/include/time.h" 3 4 extern int getdate_err; # 399 "/usr/include/time.h" 3 4 extern struct tm *getdate (__const char *__string); # 413 "/usr/include/time.h" 3 4 extern int getdate_r (__const char *__restrict __string, struct tm *__restrict __resbufp); } # 66 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/common_functions.h" 2 extern "C" { extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) clock_t clock(void) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) void* memset(void*, int, size_t) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) void* memcpy(void*, const void*, size_t) throw (); } # 1 "/usr/include/c++/4.3/new" 1 3 # 44 "/usr/include/c++/4.3/new" 3 # 1 "/usr/include/c++/4.3/cstddef" 1 3 # 46 "/usr/include/c++/4.3/cstddef" 3 # 47 "/usr/include/c++/4.3/cstddef" 3 # 1 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 4 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 2 3 # 1449 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 3 # 1 "/usr/include/c++/4.3/x86_64-suse-linux/bits/os_defines.h" 1 3 # 1450 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 2 3 # 1 "/usr/include/c++/4.3/x86_64-suse-linux/bits/cpu_defines.h" 1 3 # 1453 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 2 3 # 1642 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 1654 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 3 } # 49 "/usr/include/c++/4.3/cstddef" 2 3 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 50 "/usr/include/c++/4.3/cstddef" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { using ::ptrdiff_t; using ::size_t; } # 45 "/usr/include/c++/4.3/new" 2 3 # 1 "/usr/include/c++/4.3/exception" 1 3 # 40 "/usr/include/c++/4.3/exception" 3 #pragma GCC visibility push(default) extern "C++" { namespace std { # 56 "/usr/include/c++/4.3/exception" 3 class exception { public: exception() throw() { } virtual ~exception() throw(); virtual const char* what() const throw(); }; class bad_exception : public exception { public: bad_exception() throw() { } virtual ~bad_exception() throw(); virtual const char* what() const throw(); }; typedef void (*terminate_handler) (); typedef void (*unexpected_handler) (); terminate_handler set_terminate(terminate_handler) throw(); void terminate() __attribute__ ((__noreturn__)); unexpected_handler set_unexpected(unexpected_handler) throw(); void unexpected() __attribute__ ((__noreturn__)); # 112 "/usr/include/c++/4.3/exception" 3 bool uncaught_exception() throw(); } namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 127 "/usr/include/c++/4.3/exception" 3 void __verbose_terminate_handler (); } } #pragma GCC visibility pop # 46 "/usr/include/c++/4.3/new" 2 3 #pragma GCC visibility push(default) extern "C++" { namespace std { class bad_alloc : public exception { public: bad_alloc() throw() { } virtual ~bad_alloc() throw(); virtual const char* what() const throw(); }; struct nothrow_t { }; extern const nothrow_t nothrow; typedef void (*new_handler)(); new_handler set_new_handler(new_handler) throw(); } # 95 "/usr/include/c++/4.3/new" 3 void* operator new(std::size_t) throw (std::bad_alloc); void* operator new[](std::size_t) throw (std::bad_alloc); void operator delete(void*) throw(); void operator delete[](void*) throw(); void* operator new(std::size_t, const std::nothrow_t&) throw(); void* operator new[](std::size_t, const std::nothrow_t&) throw(); void operator delete(void*, const std::nothrow_t&) throw(); void operator delete[](void*, const std::nothrow_t&) throw(); inline void* operator new(std::size_t, void* __p) throw() { return __p; } inline void* operator new[](std::size_t, void* __p) throw() { return __p; } inline void operator delete (void*, void*) throw() { } inline void operator delete[](void*, void*) throw() { } } #pragma GCC visibility pop # 78 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/common_functions.h" 2 # 91 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/common_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) void* operator new(std:: size_t, void*) throw(); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) void* operator new[](std:: size_t, void*) throw(); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) void operator delete(void*, void*) throw(); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) void operator delete[](void*, void*) throw(); # 167 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/common_functions.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" 1 # 83 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 84 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" 2 # 92 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern "C" { # 141 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) int abs(int) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) long int labs(long int) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) long long int llabs(long long int) throw (); # 186 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double fabs(double x) throw (); # 227 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float fabsf(float x) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int min(int, int); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) unsigned int umin(unsigned int, unsigned int); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) long long int llmin(long long int, long long int); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) unsigned long long int ullmin(unsigned long long int, unsigned long long int); # 247 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float fminf(float x, float y) throw (); # 263 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double fmin(double x, double y) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int max(int, int); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) unsigned int umax(unsigned int, unsigned int); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) long long int llmax(long long int, long long int); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) unsigned long long int ullmax(unsigned long long int, unsigned long long int); # 283 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float fmaxf(float x, float y) throw (); # 299 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double fmax(double, double) throw (); # 340 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double sin(double x) throw (); # 373 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double cos(double x) throw (); # 388 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) void sincos(double x, double *sptr, double *cptr) throw (); # 404 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) void sincosf(float x, float *sptr, float *cptr) throw (); # 445 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double tan(double x) throw (); # 514 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double sqrt(double x) throw (); # 583 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double rsqrt(double x); # 652 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float rsqrtf(float x); # 703 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double log2(double x) throw (); # 724 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double exp2(double x) throw (); # 745 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float exp2f(float x) throw (); # 766 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double exp10(double x) throw (); # 788 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float exp10f(float x) throw (); # 829 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double expm1(double x) throw (); # 870 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float expm1f(float x) throw (); # 921 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float log2f(float x) throw (); # 972 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double log10(double x) throw (); # 1043 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double log(double x) throw (); # 1136 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double log1p(double x) throw (); # 1229 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float log1pf(float x) throw (); # 1301 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double floor(double x) throw (); # 1340 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double exp(double x) throw (); # 1371 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double cosh(double x) throw (); # 1401 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double sinh(double x) throw (); # 1431 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double tanh(double x) throw (); # 1465 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double acosh(double x) throw (); # 1499 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float acoshf(float x) throw (); # 1511 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double asinh(double x) throw (); # 1523 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float asinhf(float x) throw (); # 1573 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double atanh(double x) throw (); # 1623 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float atanhf(float x) throw (); # 1679 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double ldexp(double x, int exp) throw (); # 1735 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float ldexpf(float x, int exp) throw (); # 1786 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double logb(double x) throw (); # 1837 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float logbf(float x) throw (); # 1863 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int ilogb(double x) throw (); # 1889 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int ilogbf(float x) throw (); # 1961 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double scalbn(double x, int n) throw (); # 2033 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float scalbnf(float x, int n) throw (); # 2105 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double scalbln(double x, long int n) throw (); # 2177 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float scalblnf(float x, long int n) throw (); # 2252 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double frexp(double x, int *nptr) throw (); # 2327 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float frexpf(float x, int *nptr) throw (); # 2340 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double round(double x) throw (); # 2353 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float roundf(float x) throw (); # 2367 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) long int lround(double x) throw (); # 2381 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) long int lroundf(float x) throw (); # 2395 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) long long int llround(double x) throw (); # 2409 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) long long int llroundf(float x) throw (); # 2420 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double rint(double x) throw (); # 2431 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float rintf(float x) throw (); # 2443 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) long int lrint(double x) throw (); # 2455 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) long int lrintf(float x) throw (); # 2467 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) long long int llrint(double x) throw (); # 2479 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) long long int llrintf(float x) throw (); # 2528 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double nearbyint(double x) throw (); # 2577 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float nearbyintf(float x) throw (); # 2636 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double ceil(double x) throw (); # 2647 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double trunc(double x) throw (); # 2658 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float truncf(float x) throw (); # 2680 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double fdim(double x, double y) throw (); # 2702 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float fdimf(float x, float y) throw (); # 2735 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double atan2(double x, double y) throw (); # 2766 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double atan(double x) throw (); # 2789 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double acos(double x) throw (); # 2821 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double asin(double x) throw (); # 2861 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double hypot(double x, double y) throw (); # 2904 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float hypotf(float x, float y) throw (); # 2989 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double cbrt(double x) throw (); # 3071 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float cbrtf(float x) throw (); # 3120 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double rcbrt(double x); # 3169 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float rcbrtf(float x); # 3229 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double sinpi(double x); # 3289 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float sinpif(float x); # 3341 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double cospi(double x); # 3393 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float cospif(float x); # 3423 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) void sincospi(double x, double *sptr, double *cptr); # 3453 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) void sincospif(float x, float *sptr, float *cptr); # 3761 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double pow(double x, double y) throw (); # 3817 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double modf(double x, double *iptr) throw (); # 3876 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double fmod(double x, double y) throw (); # 3961 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double remainder(double x, double y) throw (); # 4047 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float remainderf(float x, float y) throw (); # 4097 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double remquo(double x, double y, int *quo) throw (); # 4147 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float remquof(float x, float y, int *quo) throw (); # 4185 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double j0(double x) throw (); # 4223 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float j0f(float x) throw (); # 4280 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double j1(double x) throw (); # 4337 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float j1f(float x) throw (); # 4376 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double jn(int n, double x) throw (); # 4415 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float jnf(int n, float x) throw (); # 4463 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double y0(double x) throw (); # 4511 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float y0f(float x) throw (); # 4559 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double y1(double x) throw (); # 4607 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float y1f(float x) throw (); # 4656 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double yn(int n, double x) throw (); # 4705 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float ynf(int n, float x) throw (); # 4783 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double erf(double x) throw (); # 4861 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float erff(float x) throw (); # 4918 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double erfinv(double y); # 4975 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float erfinvf(float y); # 5009 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double erfc(double x) throw (); # 5043 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float erfcf(float x) throw (); # 5167 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double lgamma(double x) throw (); # 5223 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double erfcinv(double y); # 5279 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float erfcinvf(float y); # 5337 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double normcdfinv(double y); # 5395 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float normcdfinvf(float y); # 5438 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double normcdf(double y); # 5481 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float normcdff(float y); # 5556 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double erfcx(double x); # 5631 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float erfcxf(float x); # 5760 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float lgammaf(float x) throw (); # 5865 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double tgamma(double x) throw (); # 5970 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float tgammaf(float x) throw (); # 5979 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double copysign(double x, double y) throw (); # 5988 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float copysignf(float x, float y) throw (); # 6021 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double nextafter(double x, double y) throw (); # 6054 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float nextafterf(float x, float y) throw (); # 6066 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double nan(const char *tagp) throw (); # 6078 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float nanf(const char *tagp) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __isinff(float) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __isnanf(float) throw (); # 6089 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __finite(double) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __finitef(float) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __signbit(double) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __isnan(double) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __isinf(double) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __signbitf(float) throw (); # 6250 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) double fma(double x, double y, double z) throw (); # 6404 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float fmaf(float x, float y, float z) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __signbitl(long double) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __finitel(long double) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __isinfl(long double) throw (); extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) int __isnanl(long double) throw (); # 6464 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float acosf(float x) throw (); # 6504 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float asinf(float x) throw (); # 6544 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float atanf(float x) throw (); # 6577 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float atan2f(float x, float y) throw (); # 6601 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float cosf(float x) throw (); # 6643 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float sinf(float x) throw (); # 6685 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float tanf(float x) throw (); # 6709 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float coshf(float x) throw (); # 6750 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float sinhf(float x) throw (); # 6780 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float tanhf(float x) throw (); # 6831 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float logf(float x) throw (); # 6881 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float expf(float x) throw (); # 6932 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float log10f(float x) throw (); # 6987 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float modff(float x, float *iptr) throw (); # 7295 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float powf(float x, float y) throw (); # 7364 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float sqrtf(float x) throw (); # 7423 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float ceilf(float x) throw (); # 7495 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float floorf(float x) throw (); # 7554 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((device_builtin)) float fmodf(float x, float y) throw (); } # 1 "/usr/include/math.h" 1 3 4 # 30 "/usr/include/math.h" 3 4 extern "C" { # 1 "/usr/include/bits/huge_val.h" 1 3 4 # 35 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_valf.h" 1 3 4 # 37 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_vall.h" 1 3 4 # 38 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/inf.h" 1 3 4 # 41 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/nan.h" 1 3 4 # 44 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathdef.h" 1 3 4 # 26 "/usr/include/bits/mathdef.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 27 "/usr/include/bits/mathdef.h" 2 3 4 typedef float float_t; typedef double double_t; # 48 "/usr/include/math.h" 2 3 4 # 71 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern double acos (double __x) throw (); extern double __acos (double __x) throw (); extern double asin (double __x) throw (); extern double __asin (double __x) throw (); extern double atan (double __x) throw (); extern double __atan (double __x) throw (); extern double atan2 (double __y, double __x) throw (); extern double __atan2 (double __y, double __x) throw (); extern double cos (double __x) throw (); extern double __cos (double __x) throw (); extern double sin (double __x) throw (); extern double __sin (double __x) throw (); extern double tan (double __x) throw (); extern double __tan (double __x) throw (); extern double cosh (double __x) throw (); extern double __cosh (double __x) throw (); extern double sinh (double __x) throw (); extern double __sinh (double __x) throw (); extern double tanh (double __x) throw (); extern double __tanh (double __x) throw (); extern void sincos (double __x, double *__sinx, double *__cosx) throw (); extern void __sincos (double __x, double *__sinx, double *__cosx) throw (); extern double acosh (double __x) throw (); extern double __acosh (double __x) throw (); extern double asinh (double __x) throw (); extern double __asinh (double __x) throw (); extern double atanh (double __x) throw (); extern double __atanh (double __x) throw (); extern double exp (double __x) throw (); extern double __exp (double __x) throw (); extern double frexp (double __x, int *__exponent) throw (); extern double __frexp (double __x, int *__exponent) throw (); extern double ldexp (double __x, int __exponent) throw (); extern double __ldexp (double __x, int __exponent) throw (); extern double log (double __x) throw (); extern double __log (double __x) throw (); extern double log10 (double __x) throw (); extern double __log10 (double __x) throw (); extern double modf (double __x, double *__iptr) throw (); extern double __modf (double __x, double *__iptr) throw (); extern double exp10 (double __x) throw (); extern double __exp10 (double __x) throw (); extern double pow10 (double __x) throw (); extern double __pow10 (double __x) throw (); extern double expm1 (double __x) throw (); extern double __expm1 (double __x) throw (); extern double log1p (double __x) throw (); extern double __log1p (double __x) throw (); extern double logb (double __x) throw (); extern double __logb (double __x) throw (); extern double exp2 (double __x) throw (); extern double __exp2 (double __x) throw (); extern double log2 (double __x) throw (); extern double __log2 (double __x) throw (); extern double pow (double __x, double __y) throw (); extern double __pow (double __x, double __y) throw (); extern double sqrt (double __x) throw (); extern double __sqrt (double __x) throw (); extern double hypot (double __x, double __y) throw (); extern double __hypot (double __x, double __y) throw (); extern double cbrt (double __x) throw (); extern double __cbrt (double __x) throw (); extern double ceil (double __x) throw () __attribute__ ((__const__)); extern double __ceil (double __x) throw () __attribute__ ((__const__)); extern double fabs (double __x) throw () __attribute__ ((__const__)); extern double __fabs (double __x) throw () __attribute__ ((__const__)); extern double floor (double __x) throw () __attribute__ ((__const__)); extern double __floor (double __x) throw () __attribute__ ((__const__)); extern double fmod (double __x, double __y) throw (); extern double __fmod (double __x, double __y) throw (); extern int __isinf (double __value) throw () __attribute__ ((__const__)); extern int __finite (double __value) throw () __attribute__ ((__const__)); extern int isinf (double __value) throw () __attribute__ ((__const__)); extern int finite (double __value) throw () __attribute__ ((__const__)); extern double drem (double __x, double __y) throw (); extern double __drem (double __x, double __y) throw (); extern double significand (double __x) throw (); extern double __significand (double __x) throw (); extern double copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double __copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double nan (__const char *__tagb) throw () __attribute__ ((__const__)); extern double __nan (__const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnan (double __value) throw () __attribute__ ((__const__)); extern int isnan (double __value) throw () __attribute__ ((__const__)); extern double j0 (double) throw (); extern double __j0 (double) throw (); extern double j1 (double) throw (); extern double __j1 (double) throw (); extern double jn (int, double) throw (); extern double __jn (int, double) throw (); extern double y0 (double) throw (); extern double __y0 (double) throw (); extern double y1 (double) throw (); extern double __y1 (double) throw (); extern double yn (int, double) throw (); extern double __yn (int, double) throw (); extern double erf (double) throw (); extern double __erf (double) throw (); extern double erfc (double) throw (); extern double __erfc (double) throw (); extern double lgamma (double) throw (); extern double __lgamma (double) throw (); extern double tgamma (double) throw (); extern double __tgamma (double) throw (); extern double gamma (double) throw (); extern double __gamma (double) throw (); extern double lgamma_r (double, int *__signgamp) throw (); extern double __lgamma_r (double, int *__signgamp) throw (); extern double rint (double __x) throw (); extern double __rint (double __x) throw (); extern double nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double remainder (double __x, double __y) throw (); extern double __remainder (double __x, double __y) throw (); extern double scalbn (double __x, int __n) throw (); extern double __scalbn (double __x, int __n) throw (); extern int ilogb (double __x) throw (); extern int __ilogb (double __x) throw (); extern double scalbln (double __x, long int __n) throw (); extern double __scalbln (double __x, long int __n) throw (); extern double nearbyint (double __x) throw (); extern double __nearbyint (double __x) throw (); extern double round (double __x) throw () __attribute__ ((__const__)); extern double __round (double __x) throw () __attribute__ ((__const__)); extern double trunc (double __x) throw () __attribute__ ((__const__)); extern double __trunc (double __x) throw () __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) throw (); extern double __remquo (double __x, double __y, int *__quo) throw (); extern long int lrint (double __x) throw (); extern long int __lrint (double __x) throw (); extern long long int llrint (double __x) throw (); extern long long int __llrint (double __x) throw (); extern long int lround (double __x) throw (); extern long int __lround (double __x) throw (); extern long long int llround (double __x) throw (); extern long long int __llround (double __x) throw (); extern double fdim (double __x, double __y) throw (); extern double __fdim (double __x, double __y) throw (); extern double fmax (double __x, double __y) throw (); extern double __fmax (double __x, double __y) throw (); extern double fmin (double __x, double __y) throw (); extern double __fmin (double __x, double __y) throw (); extern int __fpclassify (double __value) throw () __attribute__ ((__const__)); extern int __signbit (double __value) throw () __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) throw (); extern double __fma (double __x, double __y, double __z) throw (); extern double scalb (double __x, double __n) throw (); extern double __scalb (double __x, double __n) throw (); # 72 "/usr/include/math.h" 2 3 4 # 94 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern float acosf (float __x) throw (); extern float __acosf (float __x) throw (); extern float asinf (float __x) throw (); extern float __asinf (float __x) throw (); extern float atanf (float __x) throw (); extern float __atanf (float __x) throw (); extern float atan2f (float __y, float __x) throw (); extern float __atan2f (float __y, float __x) throw (); extern float cosf (float __x) throw (); extern float __cosf (float __x) throw (); extern float sinf (float __x) throw (); extern float __sinf (float __x) throw (); extern float tanf (float __x) throw (); extern float __tanf (float __x) throw (); extern float coshf (float __x) throw (); extern float __coshf (float __x) throw (); extern float sinhf (float __x) throw (); extern float __sinhf (float __x) throw (); extern float tanhf (float __x) throw (); extern float __tanhf (float __x) throw (); extern void sincosf (float __x, float *__sinx, float *__cosx) throw (); extern void __sincosf (float __x, float *__sinx, float *__cosx) throw (); extern float acoshf (float __x) throw (); extern float __acoshf (float __x) throw (); extern float asinhf (float __x) throw (); extern float __asinhf (float __x) throw (); extern float atanhf (float __x) throw (); extern float __atanhf (float __x) throw (); extern float expf (float __x) throw (); extern float __expf (float __x) throw (); extern float frexpf (float __x, int *__exponent) throw (); extern float __frexpf (float __x, int *__exponent) throw (); extern float ldexpf (float __x, int __exponent) throw (); extern float __ldexpf (float __x, int __exponent) throw (); extern float logf (float __x) throw (); extern float __logf (float __x) throw (); extern float log10f (float __x) throw (); extern float __log10f (float __x) throw (); extern float modff (float __x, float *__iptr) throw (); extern float __modff (float __x, float *__iptr) throw (); extern float exp10f (float __x) throw (); extern float __exp10f (float __x) throw (); extern float pow10f (float __x) throw (); extern float __pow10f (float __x) throw (); extern float expm1f (float __x) throw (); extern float __expm1f (float __x) throw (); extern float log1pf (float __x) throw (); extern float __log1pf (float __x) throw (); extern float logbf (float __x) throw (); extern float __logbf (float __x) throw (); extern float exp2f (float __x) throw (); extern float __exp2f (float __x) throw (); extern float log2f (float __x) throw (); extern float __log2f (float __x) throw (); extern float powf (float __x, float __y) throw (); extern float __powf (float __x, float __y) throw (); extern float sqrtf (float __x) throw (); extern float __sqrtf (float __x) throw (); extern float hypotf (float __x, float __y) throw (); extern float __hypotf (float __x, float __y) throw (); extern float cbrtf (float __x) throw (); extern float __cbrtf (float __x) throw (); extern float ceilf (float __x) throw () __attribute__ ((__const__)); extern float __ceilf (float __x) throw () __attribute__ ((__const__)); extern float fabsf (float __x) throw () __attribute__ ((__const__)); extern float __fabsf (float __x) throw () __attribute__ ((__const__)); extern float floorf (float __x) throw () __attribute__ ((__const__)); extern float __floorf (float __x) throw () __attribute__ ((__const__)); extern float fmodf (float __x, float __y) throw (); extern float __fmodf (float __x, float __y) throw (); extern int __isinff (float __value) throw () __attribute__ ((__const__)); extern int __finitef (float __value) throw () __attribute__ ((__const__)); extern int isinff (float __value) throw () __attribute__ ((__const__)); extern int finitef (float __value) throw () __attribute__ ((__const__)); extern float dremf (float __x, float __y) throw (); extern float __dremf (float __x, float __y) throw (); extern float significandf (float __x) throw (); extern float __significandf (float __x) throw (); extern float copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float nanf (__const char *__tagb) throw () __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnanf (float __value) throw () __attribute__ ((__const__)); extern int isnanf (float __value) throw () __attribute__ ((__const__)); extern float j0f (float) throw (); extern float __j0f (float) throw (); extern float j1f (float) throw (); extern float __j1f (float) throw (); extern float jnf (int, float) throw (); extern float __jnf (int, float) throw (); extern float y0f (float) throw (); extern float __y0f (float) throw (); extern float y1f (float) throw (); extern float __y1f (float) throw (); extern float ynf (int, float) throw (); extern float __ynf (int, float) throw (); extern float erff (float) throw (); extern float __erff (float) throw (); extern float erfcf (float) throw (); extern float __erfcf (float) throw (); extern float lgammaf (float) throw (); extern float __lgammaf (float) throw (); extern float tgammaf (float) throw (); extern float __tgammaf (float) throw (); extern float gammaf (float) throw (); extern float __gammaf (float) throw (); extern float lgammaf_r (float, int *__signgamp) throw (); extern float __lgammaf_r (float, int *__signgamp) throw (); extern float rintf (float __x) throw (); extern float __rintf (float __x) throw (); extern float nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float remainderf (float __x, float __y) throw (); extern float __remainderf (float __x, float __y) throw (); extern float scalbnf (float __x, int __n) throw (); extern float __scalbnf (float __x, int __n) throw (); extern int ilogbf (float __x) throw (); extern int __ilogbf (float __x) throw (); extern float scalblnf (float __x, long int __n) throw (); extern float __scalblnf (float __x, long int __n) throw (); extern float nearbyintf (float __x) throw (); extern float __nearbyintf (float __x) throw (); extern float roundf (float __x) throw () __attribute__ ((__const__)); extern float __roundf (float __x) throw () __attribute__ ((__const__)); extern float truncf (float __x) throw () __attribute__ ((__const__)); extern float __truncf (float __x) throw () __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) throw (); extern float __remquof (float __x, float __y, int *__quo) throw (); extern long int lrintf (float __x) throw (); extern long int __lrintf (float __x) throw (); extern long long int llrintf (float __x) throw (); extern long long int __llrintf (float __x) throw (); extern long int lroundf (float __x) throw (); extern long int __lroundf (float __x) throw (); extern long long int llroundf (float __x) throw (); extern long long int __llroundf (float __x) throw (); extern float fdimf (float __x, float __y) throw (); extern float __fdimf (float __x, float __y) throw (); extern float fmaxf (float __x, float __y) throw (); extern float __fmaxf (float __x, float __y) throw (); extern float fminf (float __x, float __y) throw (); extern float __fminf (float __x, float __y) throw (); extern int __fpclassifyf (float __value) throw () __attribute__ ((__const__)); extern int __signbitf (float __value) throw () __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) throw (); extern float __fmaf (float __x, float __y, float __z) throw (); extern float scalbf (float __x, float __n) throw (); extern float __scalbf (float __x, float __n) throw (); # 95 "/usr/include/math.h" 2 3 4 # 141 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern long double acosl (long double __x) throw (); extern long double __acosl (long double __x) throw (); extern long double asinl (long double __x) throw (); extern long double __asinl (long double __x) throw (); extern long double atanl (long double __x) throw (); extern long double __atanl (long double __x) throw (); extern long double atan2l (long double __y, long double __x) throw (); extern long double __atan2l (long double __y, long double __x) throw (); extern long double cosl (long double __x) throw (); extern long double __cosl (long double __x) throw (); extern long double sinl (long double __x) throw (); extern long double __sinl (long double __x) throw (); extern long double tanl (long double __x) throw (); extern long double __tanl (long double __x) throw (); extern long double coshl (long double __x) throw (); extern long double __coshl (long double __x) throw (); extern long double sinhl (long double __x) throw (); extern long double __sinhl (long double __x) throw (); extern long double tanhl (long double __x) throw (); extern long double __tanhl (long double __x) throw (); extern void sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern long double acoshl (long double __x) throw (); extern long double __acoshl (long double __x) throw (); extern long double asinhl (long double __x) throw (); extern long double __asinhl (long double __x) throw (); extern long double atanhl (long double __x) throw (); extern long double __atanhl (long double __x) throw (); extern long double expl (long double __x) throw (); extern long double __expl (long double __x) throw (); extern long double frexpl (long double __x, int *__exponent) throw (); extern long double __frexpl (long double __x, int *__exponent) throw (); extern long double ldexpl (long double __x, int __exponent) throw (); extern long double __ldexpl (long double __x, int __exponent) throw (); extern long double logl (long double __x) throw (); extern long double __logl (long double __x) throw (); extern long double log10l (long double __x) throw (); extern long double __log10l (long double __x) throw (); extern long double modfl (long double __x, long double *__iptr) throw (); extern long double __modfl (long double __x, long double *__iptr) throw (); extern long double exp10l (long double __x) throw (); extern long double __exp10l (long double __x) throw (); extern long double pow10l (long double __x) throw (); extern long double __pow10l (long double __x) throw (); extern long double expm1l (long double __x) throw (); extern long double __expm1l (long double __x) throw (); extern long double log1pl (long double __x) throw (); extern long double __log1pl (long double __x) throw (); extern long double logbl (long double __x) throw (); extern long double __logbl (long double __x) throw (); extern long double exp2l (long double __x) throw (); extern long double __exp2l (long double __x) throw (); extern long double log2l (long double __x) throw (); extern long double __log2l (long double __x) throw (); extern long double powl (long double __x, long double __y) throw (); extern long double __powl (long double __x, long double __y) throw (); extern long double sqrtl (long double __x) throw (); extern long double __sqrtl (long double __x) throw (); extern long double hypotl (long double __x, long double __y) throw (); extern long double __hypotl (long double __x, long double __y) throw (); extern long double cbrtl (long double __x) throw (); extern long double __cbrtl (long double __x) throw (); extern long double ceill (long double __x) throw () __attribute__ ((__const__)); extern long double __ceill (long double __x) throw () __attribute__ ((__const__)); extern long double fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double __fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double floorl (long double __x) throw () __attribute__ ((__const__)); extern long double __floorl (long double __x) throw () __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) throw (); extern long double __fmodl (long double __x, long double __y) throw (); extern int __isinfl (long double __value) throw () __attribute__ ((__const__)); extern int __finitel (long double __value) throw () __attribute__ ((__const__)); extern int isinfl (long double __value) throw () __attribute__ ((__const__)); extern int finitel (long double __value) throw () __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) throw (); extern long double __dreml (long double __x, long double __y) throw (); extern long double significandl (long double __x) throw (); extern long double __significandl (long double __x) throw (); extern long double copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double nanl (__const char *__tagb) throw () __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) throw () __attribute__ ((__const__)); extern int __isnanl (long double __value) throw () __attribute__ ((__const__)); extern int isnanl (long double __value) throw () __attribute__ ((__const__)); extern long double j0l (long double) throw (); extern long double __j0l (long double) throw (); extern long double j1l (long double) throw (); extern long double __j1l (long double) throw (); extern long double jnl (int, long double) throw (); extern long double __jnl (int, long double) throw (); extern long double y0l (long double) throw (); extern long double __y0l (long double) throw (); extern long double y1l (long double) throw (); extern long double __y1l (long double) throw (); extern long double ynl (int, long double) throw (); extern long double __ynl (int, long double) throw (); extern long double erfl (long double) throw (); extern long double __erfl (long double) throw (); extern long double erfcl (long double) throw (); extern long double __erfcl (long double) throw (); extern long double lgammal (long double) throw (); extern long double __lgammal (long double) throw (); extern long double tgammal (long double) throw (); extern long double __tgammal (long double) throw (); extern long double gammal (long double) throw (); extern long double __gammal (long double) throw (); extern long double lgammal_r (long double, int *__signgamp) throw (); extern long double __lgammal_r (long double, int *__signgamp) throw (); extern long double rintl (long double __x) throw (); extern long double __rintl (long double __x) throw (); extern long double nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double remainderl (long double __x, long double __y) throw (); extern long double __remainderl (long double __x, long double __y) throw (); extern long double scalbnl (long double __x, int __n) throw (); extern long double __scalbnl (long double __x, int __n) throw (); extern int ilogbl (long double __x) throw (); extern int __ilogbl (long double __x) throw (); extern long double scalblnl (long double __x, long int __n) throw (); extern long double __scalblnl (long double __x, long int __n) throw (); extern long double nearbyintl (long double __x) throw (); extern long double __nearbyintl (long double __x) throw (); extern long double roundl (long double __x) throw () __attribute__ ((__const__)); extern long double __roundl (long double __x) throw () __attribute__ ((__const__)); extern long double truncl (long double __x) throw () __attribute__ ((__const__)); extern long double __truncl (long double __x) throw () __attribute__ ((__const__)); extern long double remquol (long double __x, long double __y, int *__quo) throw (); extern long double __remquol (long double __x, long double __y, int *__quo) throw (); extern long int lrintl (long double __x) throw (); extern long int __lrintl (long double __x) throw (); extern long long int llrintl (long double __x) throw (); extern long long int __llrintl (long double __x) throw (); extern long int lroundl (long double __x) throw (); extern long int __lroundl (long double __x) throw (); extern long long int llroundl (long double __x) throw (); extern long long int __llroundl (long double __x) throw (); extern long double fdiml (long double __x, long double __y) throw (); extern long double __fdiml (long double __x, long double __y) throw (); extern long double fmaxl (long double __x, long double __y) throw (); extern long double __fmaxl (long double __x, long double __y) throw (); extern long double fminl (long double __x, long double __y) throw (); extern long double __fminl (long double __x, long double __y) throw (); extern int __fpclassifyl (long double __value) throw () __attribute__ ((__const__)); extern int __signbitl (long double __value) throw () __attribute__ ((__const__)); extern long double fmal (long double __x, long double __y, long double __z) throw (); extern long double __fmal (long double __x, long double __y, long double __z) throw (); extern long double scalbl (long double __x, long double __n) throw (); extern long double __scalbl (long double __x, long double __n) throw (); # 142 "/usr/include/math.h" 2 3 4 # 157 "/usr/include/math.h" 3 4 extern int signgam; # 198 "/usr/include/math.h" 3 4 enum { FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL }; # 291 "/usr/include/math.h" 3 4 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; # 314 "/usr/include/math.h" 3 4 struct __exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct __exception *__exc) throw (); # 472 "/usr/include/math.h" 3 4 } # 7560 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 34 "/usr/include/stdlib.h" 2 3 4 extern "C" { # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 65 "/usr/include/bits/waitstatus.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 66 "/usr/include/bits/waitstatus.h" 2 3 4 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 44 "/usr/include/stdlib.h" 2 3 4 # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) throw () ; extern double atof (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; # 240 "/usr/include/stdlib.h" 3 4 extern long int strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; extern unsigned long int strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; __extension__ extern long long int strtoll_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; __extension__ extern unsigned long long int strtoull_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; extern double strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))) ; extern float strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))) ; extern long double strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))) ; # 311 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) throw () ; extern long int a64l (__const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 extern "C" { typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; # 105 "/usr/include/sys/types.h" 3 4 typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 137 "/usr/include/sys/types.h" 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 220 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 # 55 "/usr/include/sys/select.h" 3 4 typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 extern "C" { # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); } # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) throw (); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) throw (); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw (); # 224 "/usr/include/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 262 "/usr/include/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 } # 321 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) throw (); extern void srandom (unsigned int __seed) throw (); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw () __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) throw (); extern void srand (unsigned int __seed) throw (); extern int rand_r (unsigned int *__seed) throw (); extern double drand48 (void) throw (); extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) throw (); extern long int nrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) throw (); extern long int jrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) throw (); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw () __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) throw (); extern void cfree (void *__ptr) throw (); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern "C" { extern void *alloca (size_t __size) throw (); } # 498 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw () __attribute__ ((__nonnull__ (1))) ; extern void abort (void) throw () __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); extern "C++" int at_quick_exit (void (*__func) (void)) throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw () __attribute__ ((__nonnull__ (1))); extern void exit (int __status) throw () __attribute__ ((__noreturn__)); extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *__secure_getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) throw () __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) throw (); extern int clearenv (void) throw (); # 604 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; # 615 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 625 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; # 637 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 647 "/usr/include/stdlib.h" 3 4 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 658 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; # 669 "/usr/include/stdlib.h" 3 4 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 679 "/usr/include/stdlib.h" 3 4 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 689 "/usr/include/stdlib.h" 3 4 extern int mkostemps (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 701 "/usr/include/stdlib.h" 3 4 extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int system (__const char *__command) ; extern char *canonicalize_file_name (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; # 729 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) throw () ; typedef int (*__compar_fn_t) (__const void *, __const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *); extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) throw () __attribute__ ((__const__)) ; extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) throw () __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) throw () __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) throw () __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) throw () __attribute__ ((__const__)) ; # 802 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) throw () ; extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) throw () ; extern int wctomb (char *__s, wchar_t __wchar) throw () ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) throw (); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) throw (); extern int rpmatch (__const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; # 890 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *__const *__restrict __tokens, char **__restrict __valuep) throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (__const char *__key) throw () __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) throw (); extern int unlockpt (int __fd) throw (); extern char *ptsname (int __fd) throw () ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) throw () __attribute__ ((__nonnull__ (1))); # 958 "/usr/include/stdlib.h" 3 4 } # 7561 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" 2 # 1 "/usr/include/c++/4.3/cmath" 1 3 # 46 "/usr/include/c++/4.3/cmath" 3 # 47 "/usr/include/c++/4.3/cmath" 3 # 1 "/usr/include/c++/4.3/bits/cpp_type_traits.h" 1 3 # 41 "/usr/include/c++/4.3/bits/cpp_type_traits.h" 3 # 42 "/usr/include/c++/4.3/bits/cpp_type_traits.h" 3 # 74 "/usr/include/c++/4.3/bits/cpp_type_traits.h" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template class __normal_iterator; } namespace std __attribute__ ((__visibility__ ("default"))) { struct __true_type { }; struct __false_type { }; template struct __truth_type { typedef __false_type __type; }; template<> struct __truth_type { typedef __true_type __type; }; template struct __traitor { enum { __value = bool(_Sp::__value) || bool(_Tp::__value) }; typedef typename __truth_type<__value>::__type __type; }; template struct __traitand { enum { __value = bool(_Sp::__value) && bool(_Tp::__value) }; typedef typename __truth_type<__value>::__type __type; }; template struct __are_same { enum { __value = 0 }; typedef __false_type __type; }; template struct __are_same<_Tp, _Tp> { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_void { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_void { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_integer { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_floating { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_pointer { enum { __value = 0 }; typedef __false_type __type; }; template struct __is_pointer<_Tp*> { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_normal_iterator { enum { __value = 0 }; typedef __false_type __type; }; template struct __is_normal_iterator< __gnu_cxx::__normal_iterator<_Iterator, _Container> > { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_arithmetic : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> > { }; template struct __is_fundamental : public __traitor<__is_void<_Tp>, __is_arithmetic<_Tp> > { }; template struct __is_scalar : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> > { }; template struct __is_char { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_char { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_char { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_byte { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_move_iterator { enum { __value = 0 }; typedef __false_type __type; }; # 415 "/usr/include/c++/4.3/bits/cpp_type_traits.h" 3 } # 50 "/usr/include/c++/4.3/cmath" 2 3 # 1 "/usr/include/c++/4.3/ext/type_traits.h" 1 3 # 38 "/usr/include/c++/4.3/ext/type_traits.h" 3 # 39 "/usr/include/c++/4.3/ext/type_traits.h" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template struct __enable_if { }; template struct __enable_if { typedef _Tp __type; }; template struct __conditional_type { typedef _Iftrue __type; }; template struct __conditional_type { typedef _Iffalse __type; }; template struct __add_unsigned { private: typedef __enable_if::__value, _Tp> __if_type; public: typedef typename __if_type::__type __type; }; template<> struct __add_unsigned { typedef unsigned char __type; }; template<> struct __add_unsigned { typedef unsigned char __type; }; template<> struct __add_unsigned { typedef unsigned short __type; }; template<> struct __add_unsigned { typedef unsigned int __type; }; template<> struct __add_unsigned { typedef unsigned long __type; }; template<> struct __add_unsigned { typedef unsigned long long __type; }; template<> struct __add_unsigned; template<> struct __add_unsigned; template struct __remove_unsigned { private: typedef __enable_if::__value, _Tp> __if_type; public: typedef typename __if_type::__type __type; }; template<> struct __remove_unsigned { typedef signed char __type; }; template<> struct __remove_unsigned { typedef signed char __type; }; template<> struct __remove_unsigned { typedef short __type; }; template<> struct __remove_unsigned { typedef int __type; }; template<> struct __remove_unsigned { typedef long __type; }; template<> struct __remove_unsigned { typedef long long __type; }; template<> struct __remove_unsigned; template<> struct __remove_unsigned; template inline bool __is_null_pointer(_Type* __ptr) { return __ptr == 0; } template inline bool __is_null_pointer(_Type) { return false; } template::__value> struct __promote { typedef double __type; }; template struct __promote<_Tp, false> { typedef _Tp __type; }; template struct __promote_2 { private: typedef typename __promote<_Tp>::__type __type1; typedef typename __promote<_Up>::__type __type2; public: typedef __typeof__(__type1() + __type2()) __type; }; template struct __promote_3 { private: typedef typename __promote<_Tp>::__type __type1; typedef typename __promote<_Up>::__type __type2; typedef typename __promote<_Vp>::__type __type3; public: typedef __typeof__(__type1() + __type2() + __type3()) __type; }; template struct __promote_4 { private: typedef typename __promote<_Tp>::__type __type1; typedef typename __promote<_Up>::__type __type2; typedef typename __promote<_Vp>::__type __type3; typedef typename __promote<_Wp>::__type __type4; public: typedef __typeof__(__type1() + __type2() + __type3() + __type4()) __type; }; } # 51 "/usr/include/c++/4.3/cmath" 2 3 # 82 "/usr/include/c++/4.3/cmath" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template _Tp __cmath_power(_Tp, unsigned int); template inline _Tp __pow_helper(_Tp __x, int __n) { return __n < 0 ? _Tp(1)/__cmath_power(__x, -__n) : __cmath_power(__x, __n); } inline double abs(double __x) { return __builtin_fabs(__x); } inline float abs(float __x) { return __builtin_fabsf(__x); } inline long double abs(long double __x) { return __builtin_fabsl(__x); } using ::acos; inline float acos(float __x) { return __builtin_acosf(__x); } inline long double acos(long double __x) { return __builtin_acosl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type acos(_Tp __x) { return __builtin_acos(__x); } using ::asin; inline float asin(float __x) { return __builtin_asinf(__x); } inline long double asin(long double __x) { return __builtin_asinl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type asin(_Tp __x) { return __builtin_asin(__x); } using ::atan; inline float atan(float __x) { return __builtin_atanf(__x); } inline long double atan(long double __x) { return __builtin_atanl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type atan(_Tp __x) { return __builtin_atan(__x); } using ::atan2; inline float atan2(float __y, float __x) { return __builtin_atan2f(__y, __x); } inline long double atan2(long double __y, long double __x) { return __builtin_atan2l(__y, __x); } template inline typename __gnu_cxx::__promote_2< typename __gnu_cxx::__enable_if<__traitand<__is_arithmetic<_Tp>, __is_arithmetic<_Up> >::__value, _Tp>::__type, _Up>::__type atan2(_Tp __y, _Up __x) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return atan2(__type(__y), __type(__x)); } using ::ceil; inline float ceil(float __x) { return __builtin_ceilf(__x); } inline long double ceil(long double __x) { return __builtin_ceill(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type ceil(_Tp __x) { return __builtin_ceil(__x); } using ::cos; inline float cos(float __x) { return __builtin_cosf(__x); } inline long double cos(long double __x) { return __builtin_cosl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type cos(_Tp __x) { return __builtin_cos(__x); } using ::cosh; inline float cosh(float __x) { return __builtin_coshf(__x); } inline long double cosh(long double __x) { return __builtin_coshl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type cosh(_Tp __x) { return __builtin_cosh(__x); } using ::exp; inline float exp(float __x) { return __builtin_expf(__x); } inline long double exp(long double __x) { return __builtin_expl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type exp(_Tp __x) { return __builtin_exp(__x); } using ::fabs; inline float fabs(float __x) { return __builtin_fabsf(__x); } inline long double fabs(long double __x) { return __builtin_fabsl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type fabs(_Tp __x) { return __builtin_fabs(__x); } using ::floor; inline float floor(float __x) { return __builtin_floorf(__x); } inline long double floor(long double __x) { return __builtin_floorl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type floor(_Tp __x) { return __builtin_floor(__x); } using ::fmod; inline float fmod(float __x, float __y) { return __builtin_fmodf(__x, __y); } inline long double fmod(long double __x, long double __y) { return __builtin_fmodl(__x, __y); } using ::frexp; inline float frexp(float __x, int* __exp) { return __builtin_frexpf(__x, __exp); } inline long double frexp(long double __x, int* __exp) { return __builtin_frexpl(__x, __exp); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type frexp(_Tp __x, int* __exp) { return __builtin_frexp(__x, __exp); } using ::ldexp; inline float ldexp(float __x, int __exp) { return __builtin_ldexpf(__x, __exp); } inline long double ldexp(long double __x, int __exp) { return __builtin_ldexpl(__x, __exp); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type ldexp(_Tp __x, int __exp) { return __builtin_ldexp(__x, __exp); } using ::log; inline float log(float __x) { return __builtin_logf(__x); } inline long double log(long double __x) { return __builtin_logl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type log(_Tp __x) { return __builtin_log(__x); } using ::log10; inline float log10(float __x) { return __builtin_log10f(__x); } inline long double log10(long double __x) { return __builtin_log10l(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type log10(_Tp __x) { return __builtin_log10(__x); } using ::modf; inline float modf(float __x, float* __iptr) { return __builtin_modff(__x, __iptr); } inline long double modf(long double __x, long double* __iptr) { return __builtin_modfl(__x, __iptr); } using ::pow; inline float pow(float __x, float __y) { return __builtin_powf(__x, __y); } inline long double pow(long double __x, long double __y) { return __builtin_powl(__x, __y); } inline double pow(double __x, int __i) { return __builtin_powi(__x, __i); } inline float pow(float __x, int __n) { return __builtin_powif(__x, __n); } inline long double pow(long double __x, int __n) { return __builtin_powil(__x, __n); } template inline typename __gnu_cxx::__promote_2< typename __gnu_cxx::__enable_if<__traitand<__is_arithmetic<_Tp>, __is_arithmetic<_Up> >::__value, _Tp>::__type, _Up>::__type pow(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return pow(__type(__x), __type(__y)); } using ::sin; inline float sin(float __x) { return __builtin_sinf(__x); } inline long double sin(long double __x) { return __builtin_sinl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type sin(_Tp __x) { return __builtin_sin(__x); } using ::sinh; inline float sinh(float __x) { return __builtin_sinhf(__x); } inline long double sinh(long double __x) { return __builtin_sinhl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type sinh(_Tp __x) { return __builtin_sinh(__x); } using ::sqrt; inline float sqrt(float __x) { return __builtin_sqrtf(__x); } inline long double sqrt(long double __x) { return __builtin_sqrtl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type sqrt(_Tp __x) { return __builtin_sqrt(__x); } using ::tan; inline float tan(float __x) { return __builtin_tanf(__x); } inline long double tan(long double __x) { return __builtin_tanl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type tan(_Tp __x) { return __builtin_tan(__x); } using ::tanh; inline float tanh(float __x) { return __builtin_tanhf(__x); } inline long double tanh(long double __x) { return __builtin_tanhl(__x); } template inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, double>::__type tanh(_Tp __x) { return __builtin_tanh(__x); } } namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template inline int __capture_fpclassify(_Tp __f) { return (sizeof (__f) == sizeof (float) ? __fpclassifyf (__f) : sizeof (__f) == sizeof (double) ? __fpclassify (__f) : __fpclassifyl (__f)); } } # 505 "/usr/include/c++/4.3/cmath" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type fpclassify(_Tp __f) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return ::__gnu_cxx::__capture_fpclassify(__type(__f)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type isfinite(_Tp __f) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_isfinite(__type(__f)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type isinf(_Tp __f) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_isinf(__type(__f)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type isnan(_Tp __f) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_isnan(__type(__f)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type isnormal(_Tp __f) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_isnormal(__type(__f)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type signbit(_Tp __f) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_signbit(__type(__f)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type isgreater(_Tp __f1, _Tp __f2) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_isgreater(__type(__f1), __type(__f2)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type isgreaterequal(_Tp __f1, _Tp __f2) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_isgreaterequal(__type(__f1), __type(__f2)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type isless(_Tp __f1, _Tp __f2) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_isless(__type(__f1), __type(__f2)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type islessequal(_Tp __f1, _Tp __f2) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_islessequal(__type(__f1), __type(__f2)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type islessgreater(_Tp __f1, _Tp __f2) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_islessgreater(__type(__f1), __type(__f2)); } template inline typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value, int>::__type isunordered(_Tp __f1, _Tp __f2) { typedef typename __gnu_cxx::__promote<_Tp>::__type __type; return __builtin_isunordered(__type(__f1), __type(__f2)); } } # 1 "/usr/include/c++/4.3/bits/cmath.tcc" 1 3 # 40 "/usr/include/c++/4.3/bits/cmath.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline _Tp __cmath_power(_Tp __x, unsigned int __n) { _Tp __y = __n % 2 ? __x : _Tp(1); while (__n >>= 1) { __x = __x * __x; if (__n % 2) __y = __y * __x; } return __y; } } # 622 "/usr/include/c++/4.3/cmath" 2 3 # 7564 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" 2 # 1 "/usr/include/c++/4.3/cstdlib" 1 3 # 46 "/usr/include/c++/4.3/cstdlib" 3 # 47 "/usr/include/c++/4.3/cstdlib" 3 # 1 "/usr/include/c++/4.3/cstddef" 1 3 # 46 "/usr/include/c++/4.3/cstddef" 3 # 47 "/usr/include/c++/4.3/cstddef" 3 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 50 "/usr/include/c++/4.3/cstddef" 2 3 # 50 "/usr/include/c++/4.3/cstdlib" 2 3 # 105 "/usr/include/c++/4.3/cstdlib" 3 namespace std __attribute__ ((__visibility__ ("default"))) { using ::div_t; using ::ldiv_t; using ::abort; using ::abs; using ::atexit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline long abs(long __i) { return labs(__i); } inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); } } # 162 "/usr/include/c++/4.3/cstdlib" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { using ::lldiv_t; using ::_Exit; inline long long abs(long long __x) { return __x >= 0 ? __x : -__x; } using ::llabs; inline lldiv_t div(long long __n, long long __d) { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } using ::lldiv; # 195 "/usr/include/c++/4.3/cstdlib" 3 using ::atoll; using ::strtoll; using ::strtoull; using ::strtof; using ::strtold; } namespace std __attribute__ ((__visibility__ ("default"))) { using ::__gnu_cxx::lldiv_t; using ::__gnu_cxx::_Exit; using ::__gnu_cxx::abs; using ::__gnu_cxx::llabs; using ::__gnu_cxx::div; using ::__gnu_cxx::lldiv; using ::__gnu_cxx::atoll; using ::__gnu_cxx::strtof; using ::__gnu_cxx::strtoll; using ::__gnu_cxx::strtoull; using ::__gnu_cxx::strtold; } # 7565 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" 2 # 7614 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" namespace __gnu_cxx { extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) long long int abs(long long int); } namespace std { template extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) T __pow_helper(T, int); template extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) T __cmath_power(T, unsigned int); } using std::abs; using std::fabs; using std::ceil; using std::floor; using std::sqrt; using std::pow; using std::log; using std::log10; using std::fmod; using std::modf; using std::exp; using std::frexp; using std::ldexp; using std::asin; using std::sin; using std::sinh; using std::acos; using std::cos; using std::cosh; using std::atan; using std::atan2; using std::tan; using std::tanh; # 7818 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" namespace std { # 7828 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) long int abs(long int); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float abs(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) double abs(double); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float fabs(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float ceil(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float floor(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float sqrt(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float pow(float, float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float pow(float, int); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) double pow(double, int); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float log(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float log10(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float fmod(float, float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float modf(float, float*); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float exp(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float frexp(float, int*); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float ldexp(float, int); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float asin(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float sin(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float sinh(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float acos(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float cos(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float cosh(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float atan(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float atan2(float, float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float tan(float); extern __attribute__((host)) __attribute__((device)) __attribute__((cudart_builtin)) float tanh(float); } static __inline__ __attribute__((host)) __attribute__((device)) float logb(float a) { return logbf(a); } static __inline__ __attribute__((host)) __attribute__((device)) int ilogb(float a) { return ilogbf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float scalbn(float a, int b) { return scalbnf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) float scalbln(float a, long int b) { return scalblnf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) float exp2(float a) { return exp2f(a); } static __inline__ __attribute__((host)) __attribute__((device)) float exp10(float a) { return exp10f(a); } static __inline__ __attribute__((host)) __attribute__((device)) float expm1(float a) { return expm1f(a); } static __inline__ __attribute__((host)) __attribute__((device)) float log2(float a) { return log2f(a); } static __inline__ __attribute__((host)) __attribute__((device)) float log1p(float a) { return log1pf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float rsqrt(float a) { return rsqrtf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float acosh(float a) { return acoshf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float asinh(float a) { return asinhf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float atanh(float a) { return atanhf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float hypot(float a, float b) { return hypotf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) float cbrt(float a) { return cbrtf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float rcbrt(float a) { return rcbrtf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float sinpi(float a) { return sinpif(a); } static __inline__ __attribute__((host)) __attribute__((device)) float cospi(float a) { return cospif(a); } static __inline__ __attribute__((host)) __attribute__((device)) void sincospi(float a, float *sptr, float *cptr) { sincospif(a, sptr, cptr); } static __inline__ __attribute__((host)) __attribute__((device)) void sincos(float a, float *sptr, float *cptr) { sincosf(a, sptr, cptr); } static __inline__ __attribute__((host)) __attribute__((device)) float j0(float a) { return j0f(a); } static __inline__ __attribute__((host)) __attribute__((device)) float j1(float a) { return j1f(a); } static __inline__ __attribute__((host)) __attribute__((device)) float jn(int n, float a) { return jnf(n, a); } static __inline__ __attribute__((host)) __attribute__((device)) float y0(float a) { return y0f(a); } static __inline__ __attribute__((host)) __attribute__((device)) float y1(float a) { return y1f(a); } static __inline__ __attribute__((host)) __attribute__((device)) float yn(int n, float a) { return ynf(n, a); } static __inline__ __attribute__((host)) __attribute__((device)) float erf(float a) { return erff(a); } static __inline__ __attribute__((host)) __attribute__((device)) float erfinv(float a) { return erfinvf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float erfc(float a) { return erfcf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float erfcinv(float a) { return erfcinvf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float normcdfinv(float a) { return normcdfinvf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float normcdf(float a) { return normcdff(a); } static __inline__ __attribute__((host)) __attribute__((device)) float erfcx(float a) { return erfcxf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float lgamma(float a) { return lgammaf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float tgamma(float a) { return tgammaf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float copysign(float a, float b) { return copysignf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) double copysign(double a, float b) { return copysign(a, (double)b); } static __inline__ __attribute__((host)) __attribute__((device)) float copysign(float a, double b) { return copysignf(a, (float)b); } static __inline__ __attribute__((host)) __attribute__((device)) float nextafter(float a, float b) { return nextafterf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) float remainder(float a, float b) { return remainderf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) float remquo(float a, float b, int *quo) { return remquof(a, b, quo); } static __inline__ __attribute__((host)) __attribute__((device)) float round(float a) { return roundf(a); } static __inline__ __attribute__((host)) __attribute__((device)) long int lround(float a) { return lroundf(a); } static __inline__ __attribute__((host)) __attribute__((device)) long long int llround(float a) { return llroundf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float trunc(float a) { return truncf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float rint(float a) { return rintf(a); } static __inline__ __attribute__((host)) __attribute__((device)) long int lrint(float a) { return lrintf(a); } static __inline__ __attribute__((host)) __attribute__((device)) long long int llrint(float a) { return llrintf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float nearbyint(float a) { return nearbyintf(a); } static __inline__ __attribute__((host)) __attribute__((device)) float fdim(float a, float b) { return fdimf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) float fma(float a, float b, float c) { return fmaf(a, b, c); } static __inline__ __attribute__((host)) __attribute__((device)) float fmax(float a, float b) { return fmaxf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) float fmin(float a, float b) { return fminf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned int min(unsigned int a, unsigned int b) { return umin(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned int min(int a, unsigned int b) { return umin((unsigned int)a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned int min(unsigned int a, int b) { return umin(a, (unsigned int)b); } static __inline__ __attribute__((host)) __attribute__((device)) long long int min(long long int a, long long int b) { return llmin(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned long long int min(unsigned long long int a, unsigned long long int b) { return ullmin(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned long long int min(long long int a, unsigned long long int b) { return ullmin((unsigned long long int)a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned long long int min(unsigned long long int a, long long int b) { return ullmin(a, (unsigned long long int)b); } static __inline__ __attribute__((host)) __attribute__((device)) float min(float a, float b) { return fminf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) double min(double a, double b) { return fmin(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) double min(float a, double b) { return fmin((double)a, b); } static __inline__ __attribute__((host)) __attribute__((device)) double min(double a, float b) { return fmin(a, (double)b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned int max(unsigned int a, unsigned int b) { return umax(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned int max(int a, unsigned int b) { return umax((unsigned int)a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned int max(unsigned int a, int b) { return umax(a, (unsigned int)b); } static __inline__ __attribute__((host)) __attribute__((device)) long long int max(long long int a, long long int b) { return llmax(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned long long int max(unsigned long long int a, unsigned long long int b) { return ullmax(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned long long int max(long long int a, unsigned long long int b) { return ullmax((unsigned long long int)a, b); } static __inline__ __attribute__((host)) __attribute__((device)) unsigned long long int max(unsigned long long int a, long long int b) { return ullmax(a, (unsigned long long int)b); } static __inline__ __attribute__((host)) __attribute__((device)) float max(float a, float b) { return fmaxf(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) double max(double a, double b) { return fmax(a, b); } static __inline__ __attribute__((host)) __attribute__((device)) double max(float a, double b) { return fmax((double)a, b); } static __inline__ __attribute__((host)) __attribute__((device)) double max(double a, float b) { return fmax(a, (double)b); } # 13691 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions_dbl_ptx1.h" 1 # 13692 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/math_functions.h" 2 # 168 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/common_functions.h" 2 # 77 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_surface_types.h" 1 # 61 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_surface_types.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 62 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_surface_types.h" 2 # 73 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_surface_types.h" template struct __attribute__((device_builtin_surface_type)) surface : public surfaceReference { __attribute__((host)) surface(void) { channelDesc = cudaCreateChannelDesc(); } __attribute__((host)) surface(struct cudaChannelFormatDesc desc) { channelDesc = desc; } }; template struct __attribute__((device_builtin_surface_type)) surface : public surfaceReference { __attribute__((host)) surface(void) { channelDesc = cudaCreateChannelDesc(); } }; # 78 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_texture_types.h" 1 # 61 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_texture_types.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 62 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_texture_types.h" 2 # 73 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_texture_types.h" template struct __attribute__((device_builtin_texture_type)) texture : public textureReference { __attribute__((host)) texture(int norm = 0, enum cudaTextureFilterMode fMode = cudaFilterModePoint, enum cudaTextureAddressMode aMode = cudaAddressModeClamp) { normalized = norm; filterMode = fMode; addressMode[0] = aMode; addressMode[1] = aMode; addressMode[2] = aMode; channelDesc = cudaCreateChannelDesc(); sRGB = 0; } __attribute__((host)) texture(int norm, enum cudaTextureFilterMode fMode, enum cudaTextureAddressMode aMode, struct cudaChannelFormatDesc desc) { normalized = norm; filterMode = fMode; addressMode[0] = aMode; addressMode[1] = aMode; addressMode[2] = aMode; channelDesc = desc; sRGB = 0; } }; # 79 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 1 # 61 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 62 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 71 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern "C" { # 82 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __mulhi(int x, int y); # 92 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __umulhi(unsigned int x, unsigned int y); # 102 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) long long int __mul64hi(long long int x, long long int y); # 112 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned long long int __umul64hi(unsigned long long int x, unsigned long long int y); # 121 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __int_as_float(int x); # 130 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __float_as_int(float x); extern __attribute__((device)) __attribute__((device_builtin)) void __syncthreads(void); extern __attribute__((device)) __attribute__((device_builtin)) void __prof_trigger(int); extern __attribute__((device)) __attribute__((device_builtin)) void __threadfence(void); extern __attribute__((device)) __attribute__((device_builtin)) void __threadfence_block(void); extern __attribute__((device)) __attribute__((device_builtin)) void __trap(void); extern __attribute__((device)) __attribute__((device_builtin)) void __brkpt(int c = 0); # 159 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __saturatef(float x); # 228 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __sad(int x, int y, unsigned int z); # 296 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __usad(unsigned int x, unsigned int y, unsigned int z); # 306 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __mul24(int x, int y); # 316 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __umul24(unsigned int x, unsigned int y); # 329 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float fdividef(float x, float y); # 404 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fdividef(float x, float y); extern __attribute__((device)) __attribute__((device_builtin)) double fdivide(double x, double y); # 417 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) float __sinf(float x) throw (); # 429 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) float __cosf(float x) throw (); # 443 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) float __tanf(float x) throw (); # 458 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) void __sincosf(float x, float *sptr, float *cptr) throw (); # 508 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) float __expf(float x) throw (); # 540 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) float __exp10f(float x) throw (); # 566 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) float __log2f(float x) throw (); # 594 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) float __log10f(float x) throw (); # 638 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) float __logf(float x) throw (); # 681 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) __attribute__((cudart_builtin)) float __powf(float x, float y) throw (); # 690 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __float2int_rn(float x); # 699 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __float2int_rz(float x); # 708 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __float2int_ru(float); # 717 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __float2int_rd(float x); # 726 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __float2uint_rn(float x); # 735 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __float2uint_rz(float x); # 744 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __float2uint_ru(float x); # 753 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __float2uint_rd(float x); # 762 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __int2float_rn(int x); # 771 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __int2float_rz(int x); # 780 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __int2float_ru(int x); # 789 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __int2float_rd(int x); # 798 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __uint2float_rn(unsigned int x); # 807 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __uint2float_rz(unsigned int x); # 816 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __uint2float_ru(unsigned int x); # 825 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __uint2float_rd(unsigned int x); # 834 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) long long int __float2ll_rn(float x); # 843 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) long long int __float2ll_rz(float x); # 852 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) long long int __float2ll_ru(float x); # 861 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) long long int __float2ll_rd(float x); # 870 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned long long int __float2ull_rn(float x); # 879 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned long long int __float2ull_rz(float x); # 888 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned long long int __float2ull_ru(float x); # 897 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned long long int __float2ull_rd(float x); # 906 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __ll2float_rn(long long int x); # 915 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __ll2float_rz(long long int x); # 924 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __ll2float_ru(long long int x); # 933 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __ll2float_rd(long long int x); # 942 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __ull2float_rn(unsigned long long int x); # 951 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __ull2float_rz(unsigned long long int x); # 960 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __ull2float_ru(unsigned long long int x); # 969 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __ull2float_rd(unsigned long long int x); # 978 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned short __float2half_rn(float x); # 987 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __half2float(unsigned short x); # 999 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fadd_rn(float x, float y); # 1011 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fadd_rz(float x, float y); # 1023 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fadd_ru(float x, float y); # 1035 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fadd_rd(float x, float y); # 1047 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fsub_rn(float x, float y); # 1059 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fsub_rz(float x, float y); # 1071 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fsub_ru(float x, float y); # 1083 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fsub_rd(float x, float y); # 1095 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fmul_rn(float x, float y); # 1107 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fmul_rz(float x, float y); # 1119 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fmul_ru(float x, float y); # 1131 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fmul_rd(float x, float y); # 1284 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fmaf_rn(float x, float y, float z); # 1437 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fmaf_rz(float x, float y, float z); # 1590 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fmaf_ru(float x, float y, float z); # 1743 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fmaf_rd(float x, float y, float z); # 1776 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __frcp_rn(float x); # 1809 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __frcp_rz(float x); # 1842 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __frcp_ru(float x); # 1875 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __frcp_rd(float x); # 1906 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fsqrt_rn(float x); # 1937 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fsqrt_rz(float x); # 1968 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fsqrt_ru(float x); # 1999 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fsqrt_rd(float x); # 2038 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __frsqrt_rn(float x); # 2049 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fdiv_rn(float x, float y); # 2060 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fdiv_rz(float x, float y); # 2071 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fdiv_ru(float x, float y); # 2082 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) float __fdiv_rd(float x, float y); # 2091 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __clz(int x); # 2102 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __ffs(int x); # 2111 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __popc(unsigned int x); # 2120 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __brev(unsigned int x); # 2129 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __clzll(long long int x); # 2140 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __ffsll(long long int x); # 2149 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __popcll(unsigned long long int x); # 2158 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned long long int __brevll(unsigned long long int x); # 2182 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __byte_perm(unsigned int x, unsigned int y, unsigned int s); # 2194 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __hadd(int, int); # 2207 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) int __rhadd(int, int); # 2219 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __uhadd(unsigned int, unsigned int); # 2232 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) unsigned int __urhadd(unsigned int, unsigned int); # 2277 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" } static __inline__ __attribute__((device)) int mulhi(int a, int b) { return __mulhi(a, b); } static __inline__ __attribute__((device)) unsigned int mulhi(unsigned int a, unsigned int b) { return __umulhi(a, b); } static __inline__ __attribute__((device)) unsigned int mulhi(int a, unsigned int b) { return __umulhi((unsigned int)a, b); } static __inline__ __attribute__((device)) unsigned int mulhi(unsigned int a, int b) { return __umulhi(a, (unsigned int)b); } static __inline__ __attribute__((device)) long long int mul64hi(long long int a, long long int b) { return __mul64hi(a, b); } static __inline__ __attribute__((device)) unsigned long long int mul64hi(unsigned long long int a, unsigned long long int b) { return __umul64hi(a, b); } static __inline__ __attribute__((device)) unsigned long long int mul64hi(long long int a, unsigned long long int b) { return __umul64hi((unsigned long long int)a, b); } static __inline__ __attribute__((device)) unsigned long long int mul64hi(unsigned long long int a, long long int b) { return __umul64hi(a, (unsigned long long int)b); } static __inline__ __attribute__((device)) int float_as_int(float a) { return __float_as_int(a); } static __inline__ __attribute__((device)) float int_as_float(int a) { return __int_as_float(a); } static __inline__ __attribute__((device)) float saturate(float a) { return __saturatef(a); } static __inline__ __attribute__((device)) int mul24(int a, int b) { return __mul24(a, b); } static __inline__ __attribute__((device)) unsigned int umul24(unsigned int a, unsigned int b) { return __umul24(a, b); } static __inline__ __attribute__((device)) void trap(void) { __trap(); } static __inline__ __attribute__((device)) void brkpt(int c = 0) { __brkpt(c); } static __inline__ __attribute__((device)) void syncthreads(void) { __syncthreads(); } static __inline__ __attribute__((device)) void prof_trigger(int e) { if (e == 0) __prof_trigger( 0); else if (e == 1) __prof_trigger( 1); else if (e == 2) __prof_trigger( 2); else if (e == 3) __prof_trigger( 3); else if (e == 4) __prof_trigger( 4); else if (e == 5) __prof_trigger( 5); else if (e == 6) __prof_trigger( 6); else if (e == 7) __prof_trigger( 7); else if (e == 8) __prof_trigger( 8); else if (e == 9) __prof_trigger( 9); else if (e == 10) __prof_trigger(10); else if (e == 11) __prof_trigger(11); else if (e == 12) __prof_trigger(12); else if (e == 13) __prof_trigger(13); else if (e == 14) __prof_trigger(14); else if (e == 15) __prof_trigger(15); } static __inline__ __attribute__((device)) void threadfence(bool global = true) { global ? __threadfence() : __threadfence_block(); } static __inline__ __attribute__((device)) int float2int(float a, enum cudaRoundMode mode = cudaRoundZero) { return mode == cudaRoundNearest ? __float2int_rn(a) : mode == cudaRoundPosInf ? __float2int_ru(a) : mode == cudaRoundMinInf ? __float2int_rd(a) : __float2int_rz(a); } static __inline__ __attribute__((device)) unsigned int float2uint(float a, enum cudaRoundMode mode = cudaRoundZero) { return mode == cudaRoundNearest ? __float2uint_rn(a) : mode == cudaRoundPosInf ? __float2uint_ru(a) : mode == cudaRoundMinInf ? __float2uint_rd(a) : __float2uint_rz(a); } static __inline__ __attribute__((device)) float int2float(int a, enum cudaRoundMode mode = cudaRoundNearest) { return mode == cudaRoundZero ? __int2float_rz(a) : mode == cudaRoundPosInf ? __int2float_ru(a) : mode == cudaRoundMinInf ? __int2float_rd(a) : __int2float_rn(a); } static __inline__ __attribute__((device)) float uint2float(unsigned int a, enum cudaRoundMode mode = cudaRoundNearest) { return mode == cudaRoundZero ? __uint2float_rz(a) : mode == cudaRoundPosInf ? __uint2float_ru(a) : mode == cudaRoundMinInf ? __uint2float_rd(a) : __uint2float_rn(a); } # 6383 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/sm_11_atomic_functions.h" 1 # 6384 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/sm_12_atomic_functions.h" 1 # 6385 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/sm_13_double_functions.h" 1 # 6386 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/sm_20_atomic_functions.h" 1 # 6387 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/sm_32_atomic_functions.h" 1 # 6388 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/sm_35_atomic_functions.h" 1 # 6389 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/sm_20_intrinsics.h" 1 # 6390 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/sm_30_intrinsics.h" 1 # 6391 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/sm_32_intrinsics.h" 1 # 6392 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/sm_35_intrinsics.h" 1 # 6393 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" 1 # 61 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 62 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" 2 # 73 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) uchar1 __surf1Dreadc1(surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar2 __surf1Dreadc2(surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar4 __surf1Dreadc4(surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort1 __surf1Dreads1(surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort2 __surf1Dreads2(surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort4 __surf1Dreads4(surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint1 __surf1Dreadu1(surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint2 __surf1Dreadu2(surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint4 __surf1Dreadu4(surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong1 __surf1Dreadl1(surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong2 __surf1Dreadl2(surface t, int x, enum cudaSurfaceBoundaryMode mode); # 99 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dread(T *res, surface surf, int x, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { (s == 1) ? (void)(*(uchar1 *)res = __surf1Dreadc1(surf, x, cudaBoundaryModeTrap)) : (s == 2) ? (void)(*(ushort1*)res = __surf1Dreads1(surf, x, cudaBoundaryModeTrap)) : (s == 4) ? (void)(*(uint1 *)res = __surf1Dreadu1(surf, x, cudaBoundaryModeTrap)) : (s == 8) ? (void)(*(uint2 *)res = __surf1Dreadu2(surf, x, cudaBoundaryModeTrap)) : (s == 16) ? (void)(*(uint4 *)res = __surf1Dreadu4(surf, x, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) T surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { T tmp; surf1Dread(&tmp, surf, x, (int)sizeof(T), mode); return tmp; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dread(T *res, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { *res = surf1Dread(surf, x, mode); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return (char)__surf1Dreadc1(surf, x, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) signed char surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return (signed char)__surf1Dreadc1(surf, x, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadc1(surf, x, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char1 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return make_char1((signed char)__surf1Dreadc1(surf, x, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadc1(surf, x, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char2 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { uchar2 tmp = __surf1Dreadc2(surf, x, cudaBoundaryModeTrap); return make_char2((signed char)tmp.x, (signed char)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadc2(surf, x, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char4 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { uchar4 tmp = __surf1Dreadc4(surf, x, cudaBoundaryModeTrap); return make_char4((signed char)tmp.x, (signed char)tmp.y, (signed char)tmp.z, (signed char)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadc4(surf, x, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return (short)__surf1Dreads1(surf, x, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreads1(surf, x, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short1 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return make_short1((signed short)__surf1Dreads1(surf, x, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreads1(surf, x, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short2 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { ushort2 tmp = __surf1Dreads2(surf, x, cudaBoundaryModeTrap); return make_short2((signed short)tmp.x, (signed short)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreads2(surf, x, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short4 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { ushort4 tmp = __surf1Dreads4(surf, x, cudaBoundaryModeTrap); return make_short4((signed short)tmp.x, (signed short)tmp.y, (signed short)tmp.z, (signed short)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreads4(surf, x, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return (int)__surf1Dreadu1(surf, x, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadu1(surf, x, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int1 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return make_int1((signed int)__surf1Dreadu1(surf, x, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadu1(surf, x, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int2 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surf1Dreadu2(surf, x, cudaBoundaryModeTrap); return make_int2((int)tmp.x, (int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadu2(surf, x, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int4 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surf1Dreadu4(surf, x, cudaBoundaryModeTrap); return make_int4((int)tmp.x, (int)tmp.y, (int)tmp.z, (int)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadu4(surf, x, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) long long int surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return (long long int)__surf1Dreadl1(surf, x, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned long long int surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadl1(surf, x, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong1 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return make_longlong1((long long int)__surf1Dreadl1(surf, x, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong1 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadl1(surf, x, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong2 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { ulonglong2 tmp = __surf1Dreadl2(surf, x, cudaBoundaryModeTrap); return make_longlong2((long long int)tmp.x, (long long int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong2 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __surf1Dreadl2(surf, x, cudaBoundaryModeTrap); } # 386 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return __int_as_float((int)__surf1Dreadu1(surf, x, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float1 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { return make_float1(__int_as_float((int)__surf1Dreadu1(surf, x, cudaBoundaryModeTrap).x)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float2 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surf1Dreadu2(surf, x, cudaBoundaryModeTrap); return make_float2(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float4 surf1Dread(surface surf, int x, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surf1Dreadu4(surf, x, cudaBoundaryModeTrap); return make_float4(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y), __int_as_float((int)tmp.z), __int_as_float((int)tmp.w)); } # 421 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) uchar1 __surf2Dreadc1(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar2 __surf2Dreadc2(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar4 __surf2Dreadc4(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort1 __surf2Dreads1(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort2 __surf2Dreads2(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort4 __surf2Dreads4(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint1 __surf2Dreadu1(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint2 __surf2Dreadu2(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint4 __surf2Dreadu4(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong1 __surf2Dreadl1(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong2 __surf2Dreadl2(surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); # 447 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dread(T *res, surface surf, int x, int y, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { (s == 1) ? (void)(*(uchar1 *)res = __surf2Dreadc1(surf, x, y, cudaBoundaryModeTrap)) : (s == 2) ? (void)(*(ushort1*)res = __surf2Dreads1(surf, x, y, cudaBoundaryModeTrap)) : (s == 4) ? (void)(*(uint1 *)res = __surf2Dreadu1(surf, x, y, cudaBoundaryModeTrap)) : (s == 8) ? (void)(*(uint2 *)res = __surf2Dreadu2(surf, x, y, cudaBoundaryModeTrap)) : (s == 16) ? (void)(*(uint4 *)res = __surf2Dreadu4(surf, x, y, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) T surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { T tmp; surf2Dread(&tmp, surf, x, y, (int)sizeof(T), mode); return tmp; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dread(T *res, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { *res = surf2Dread(surf, x, y, mode); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return (char)__surf2Dreadc1(surf, x, y, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) signed char surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return (signed char)__surf2Dreadc1(surf, x, y, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadc1(surf, x, y, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char1 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return make_char1((signed char)__surf2Dreadc1(surf, x, y, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadc1(surf, x, y, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char2 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { uchar2 tmp = __surf2Dreadc2(surf, x, y, cudaBoundaryModeTrap); return make_char2((signed char)tmp.x, (signed char)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadc2(surf, x, y, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char4 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { uchar4 tmp = __surf2Dreadc4(surf, x, y, cudaBoundaryModeTrap); return make_char4((signed char)tmp.x, (signed char)tmp.y, (signed char)tmp.z, (signed char)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadc4(surf, x, y, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return (short)__surf2Dreads1(surf, x, y, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreads1(surf, x, y, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short1 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return make_short1((signed short)__surf2Dreads1(surf, x, y, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreads1(surf, x, y, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short2 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { ushort2 tmp = __surf2Dreads2(surf, x, y, cudaBoundaryModeTrap); return make_short2((signed short)tmp.x, (signed short)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreads2(surf, x, y, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short4 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { ushort4 tmp = __surf2Dreads4(surf, x, y, cudaBoundaryModeTrap); return make_short4((signed short)tmp.x, (signed short)tmp.y, (signed short)tmp.z, (signed short)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreads4(surf, x, y, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return (int)__surf2Dreadu1(surf, x, y, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadu1(surf, x, y, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int1 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return make_int1((signed int)__surf2Dreadu1(surf, x, y, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadu1(surf, x, y, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int2 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surf2Dreadu2(surf, x, y, cudaBoundaryModeTrap); return make_int2((int)tmp.x, (int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadu2(surf, x, y, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int4 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surf2Dreadu4(surf, x, y, cudaBoundaryModeTrap); return make_int4((int)tmp.x, (int)tmp.y, (int)tmp.z, (int)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadu4(surf, x, y, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) long long int surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return (long long int)__surf2Dreadl1(surf, x, y, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned long long int surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadl1(surf, x, y, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong1 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return make_longlong1((long long int)__surf2Dreadl1(surf, x, y, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong1 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadl1(surf, x, y, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong2 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { ulonglong2 tmp = __surf2Dreadl2(surf, x, y, cudaBoundaryModeTrap); return make_longlong2((long long int)tmp.x, (long long int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong2 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __surf2Dreadl2(surf, x, y, cudaBoundaryModeTrap); } # 734 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return __int_as_float((int)__surf2Dreadu1(surf, x, y, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float1 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { return make_float1(__int_as_float((int)__surf2Dreadu1(surf, x, y, cudaBoundaryModeTrap).x)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float2 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surf2Dreadu2(surf, x, y, cudaBoundaryModeTrap); return make_float2(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float4 surf2Dread(surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surf2Dreadu4(surf, x, y, cudaBoundaryModeTrap); return make_float4(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y), __int_as_float((int)tmp.z), __int_as_float((int)tmp.w)); } # 769 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) uchar1 __surf3Dreadc1(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar2 __surf3Dreadc2(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar4 __surf3Dreadc4(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort1 __surf3Dreads1(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort2 __surf3Dreads2(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort4 __surf3Dreads4(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint1 __surf3Dreadu1(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint2 __surf3Dreadu2(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint4 __surf3Dreadu4(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong1 __surf3Dreadl1(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong2 __surf3Dreadl2(surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); # 795 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dread(T *res, surface surf, int x, int y, int z, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { (s == 1) ? (void)(*(uchar1 *)res = __surf3Dreadc1(surf, x, y, z, cudaBoundaryModeTrap)) : (s == 2) ? (void)(*(ushort1*)res = __surf3Dreads1(surf, x, y, z, cudaBoundaryModeTrap)) : (s == 4) ? (void)(*(uint1 *)res = __surf3Dreadu1(surf, x, y, z, cudaBoundaryModeTrap)) : (s == 8) ? (void)(*(uint2 *)res = __surf3Dreadu2(surf, x, y, z, cudaBoundaryModeTrap)) : (s == 16) ? (void)(*(uint4 *)res = __surf3Dreadu4(surf, x, y, z, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) T surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { T tmp; surf3Dread(&tmp, surf, x, y, z, (int)sizeof(T), mode); return tmp; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dread(T *res, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { *res = surf3Dread(surf, x, y, z, mode); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return (char)__surf3Dreadc1(surf, x, y, z, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) signed char surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return (signed char)__surf3Dreadc1(surf, x, y, z, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadc1(surf, x, y, z, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char1 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return make_char1((signed char)__surf3Dreadc1(surf, x, y, z, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadc1(surf, x, y, z, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char2 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { uchar2 tmp = __surf3Dreadc2(surf, x, y, z, cudaBoundaryModeTrap); return make_char2((signed char)tmp.x, (signed char)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadc2(surf, x, y, z, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char4 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { uchar4 tmp = __surf3Dreadc4(surf, x, y, z, cudaBoundaryModeTrap); return make_char4((signed char)tmp.x, (signed char)tmp.y, (signed char)tmp.z, (signed char)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadc4(surf, x, y, z, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return (short)__surf3Dreads1(surf, x, y, z, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreads1(surf, x, y, z, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short1 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return make_short1((signed short)__surf3Dreads1(surf, x, y, z, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreads1(surf, x, y, z, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short2 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { ushort2 tmp = __surf3Dreads2(surf, x, y, z, cudaBoundaryModeTrap); return make_short2((signed short)tmp.x, (signed short)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreads2(surf, x, y, z, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short4 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { ushort4 tmp = __surf3Dreads4(surf, x, y, z, cudaBoundaryModeTrap); return make_short4((signed short)tmp.x, (signed short)tmp.y, (signed short)tmp.z, (signed short)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreads4(surf, x, y, z, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return (int)__surf3Dreadu1(surf, x, y, z, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadu1(surf, x, y, z, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int1 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return make_int1((signed int)__surf3Dreadu1(surf, x, y, z, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadu1(surf, x, y, z, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int2 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surf3Dreadu2(surf, x, y, z, cudaBoundaryModeTrap); return make_int2((int)tmp.x, (int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadu2(surf, x, y, z, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int4 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surf3Dreadu4(surf, x, y, z, cudaBoundaryModeTrap); return make_int4((int)tmp.x, (int)tmp.y, (int)tmp.z, (int)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadu4(surf, x, y, z, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) long long int surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return (long long int)__surf3Dreadl1(surf, x, y, z, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned long long int surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadl1(surf, x, y, z, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong1 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return make_longlong1((long long int)__surf3Dreadl1(surf, x, y, z, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong1 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadl1(surf, x, y, z, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong2 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { ulonglong2 tmp = __surf3Dreadl2(surf, x, y, z, cudaBoundaryModeTrap); return make_longlong2((long long int)tmp.x, (long long int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong2 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __surf3Dreadl2(surf, x, y, z, cudaBoundaryModeTrap); } # 1082 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return __int_as_float((int)__surf3Dreadu1(surf, x, y, z, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float1 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { return make_float1(__int_as_float((int)__surf3Dreadu1(surf, x, y, z, cudaBoundaryModeTrap).x)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float2 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surf3Dreadu2(surf, x, y, z, cudaBoundaryModeTrap); return make_float2(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float4 surf3Dread(surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surf3Dreadu4(surf, x, y, z, cudaBoundaryModeTrap); return make_float4(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y), __int_as_float((int)tmp.z), __int_as_float((int)tmp.w)); } # 1117 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) uchar1 __surf1DLayeredreadc1(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar2 __surf1DLayeredreadc2(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar4 __surf1DLayeredreadc4(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort1 __surf1DLayeredreads1(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort2 __surf1DLayeredreads2(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort4 __surf1DLayeredreads4(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint1 __surf1DLayeredreadu1(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint2 __surf1DLayeredreadu2(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint4 __surf1DLayeredreadu4(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong1 __surf1DLayeredreadl1(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong2 __surf1DLayeredreadl2(surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); # 1143 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredread(T *res, surface surf, int x, int layer, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { (s == 1) ? (void)(*(uchar1 *)res = __surf1DLayeredreadc1(surf, x, layer, cudaBoundaryModeTrap)) : (s == 2) ? (void)(*(ushort1*)res = __surf1DLayeredreads1(surf, x, layer, cudaBoundaryModeTrap)) : (s == 4) ? (void)(*(uint1 *)res = __surf1DLayeredreadu1(surf, x, layer, cudaBoundaryModeTrap)) : (s == 8) ? (void)(*(uint2 *)res = __surf1DLayeredreadu2(surf, x, layer, cudaBoundaryModeTrap)) : (s == 16) ? (void)(*(uint4 *)res = __surf1DLayeredreadu4(surf, x, layer, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) T surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { T tmp; surf1DLayeredread(&tmp, surf, x, layer, (int)sizeof(T), mode); return tmp; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredread(T *res, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { *res = surf1DLayeredread(surf, x, layer, mode); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return (char)__surf1DLayeredreadc1(surf, x, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) signed char surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return (signed char)__surf1DLayeredreadc1(surf, x, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadc1(surf, x, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char1 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return make_char1((signed char)__surf1DLayeredreadc1(surf, x, layer, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadc1(surf, x, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char2 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { uchar2 tmp = __surf1DLayeredreadc2(surf, x, layer, cudaBoundaryModeTrap); return make_char2((signed char)tmp.x, (signed char)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadc2(surf, x, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char4 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { uchar4 tmp = __surf1DLayeredreadc4(surf, x, layer, cudaBoundaryModeTrap); return make_char4((signed char)tmp.x, (signed char)tmp.y, (signed char)tmp.z, (signed char)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadc4(surf, x, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return (short)__surf1DLayeredreads1(surf, x, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreads1(surf, x, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short1 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return make_short1((signed short)__surf1DLayeredreads1(surf, x, layer, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreads1(surf, x, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short2 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { ushort2 tmp = __surf1DLayeredreads2(surf, x, layer, cudaBoundaryModeTrap); return make_short2((signed short)tmp.x, (signed short)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreads2(surf, x, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short4 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { ushort4 tmp = __surf1DLayeredreads4(surf, x, layer, cudaBoundaryModeTrap); return make_short4((signed short)tmp.x, (signed short)tmp.y, (signed short)tmp.z, (signed short)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreads4(surf, x, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return (int)__surf1DLayeredreadu1(surf, x, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadu1(surf, x, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int1 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return make_int1((signed int)__surf1DLayeredreadu1(surf, x, layer, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadu1(surf, x, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int2 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surf1DLayeredreadu2(surf, x, layer, cudaBoundaryModeTrap); return make_int2((int)tmp.x, (int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadu2(surf, x, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int4 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surf1DLayeredreadu4(surf, x, layer, cudaBoundaryModeTrap); return make_int4((int)tmp.x, (int)tmp.y, (int)tmp.z, (int)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadu4(surf, x, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) long long int surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return (long long int)__surf1DLayeredreadl1(surf, x, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned long long int surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadl1(surf, x, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong1 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return make_longlong1((long long int)__surf1DLayeredreadl1(surf, x, layer, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong1 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadl1(surf, x, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong2 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { ulonglong2 tmp = __surf1DLayeredreadl2(surf, x, layer, cudaBoundaryModeTrap); return make_longlong2((long long int)tmp.x, (long long int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong2 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf1DLayeredreadl2(surf, x, layer, cudaBoundaryModeTrap); } # 1430 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return __int_as_float((int)__surf1DLayeredreadu1(surf, x, layer, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float1 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { return make_float1(__int_as_float((int)__surf1DLayeredreadu1(surf, x, layer, cudaBoundaryModeTrap).x)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float2 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surf1DLayeredreadu2(surf, x, layer, cudaBoundaryModeTrap); return make_float2(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float4 surf1DLayeredread(surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surf1DLayeredreadu4(surf, x, layer, cudaBoundaryModeTrap); return make_float4(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y), __int_as_float((int)tmp.z), __int_as_float((int)tmp.w)); } # 1465 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) uchar1 __surf2DLayeredreadc1(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar2 __surf2DLayeredreadc2(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar4 __surf2DLayeredreadc4(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort1 __surf2DLayeredreads1(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort2 __surf2DLayeredreads2(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort4 __surf2DLayeredreads4(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint1 __surf2DLayeredreadu1(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint2 __surf2DLayeredreadu2(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint4 __surf2DLayeredreadu4(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong1 __surf2DLayeredreadl1(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong2 __surf2DLayeredreadl2(surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); # 1491 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredread(T *res, surface surf, int x, int y, int layer, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { (s == 1) ? (void)(*(uchar1 *)res = __surf2DLayeredreadc1(surf, x, y, layer, cudaBoundaryModeTrap)) : (s == 2) ? (void)(*(ushort1*)res = __surf2DLayeredreads1(surf, x, y, layer, cudaBoundaryModeTrap)) : (s == 4) ? (void)(*(uint1 *)res = __surf2DLayeredreadu1(surf, x, y, layer, cudaBoundaryModeTrap)) : (s == 8) ? (void)(*(uint2 *)res = __surf2DLayeredreadu2(surf, x, y, layer, cudaBoundaryModeTrap)) : (s == 16) ? (void)(*(uint4 *)res = __surf2DLayeredreadu4(surf, x, y, layer, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) T surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { T tmp; surf2DLayeredread(&tmp, surf, x, y, layer, (int)sizeof(T), mode); return tmp; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredread(T *res, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { *res = surf2DLayeredread(surf, x, y, layer, mode); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return (char)__surf2DLayeredreadc1(surf, x, y, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) signed char surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return (signed char)__surf2DLayeredreadc1(surf, x, y, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadc1(surf, x, y, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char1 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return make_char1((signed char)__surf2DLayeredreadc1(surf, x, y, layer, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadc1(surf, x, y, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char2 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { uchar2 tmp = __surf2DLayeredreadc2(surf, x, y, layer, cudaBoundaryModeTrap); return make_char2((signed char)tmp.x, (signed char)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadc2(surf, x, y, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char4 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { uchar4 tmp = __surf2DLayeredreadc4(surf, x, y, layer, cudaBoundaryModeTrap); return make_char4((signed char)tmp.x, (signed char)tmp.y, (signed char)tmp.z, (signed char)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadc4(surf, x, y, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return (short)__surf2DLayeredreads1(surf, x, y, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreads1(surf, x, y, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short1 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return make_short1((signed short)__surf2DLayeredreads1(surf, x, y, layer, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreads1(surf, x, y, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short2 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { ushort2 tmp = __surf2DLayeredreads2(surf, x, y, layer, cudaBoundaryModeTrap); return make_short2((signed short)tmp.x, (signed short)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreads2(surf, x, y, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short4 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { ushort4 tmp = __surf2DLayeredreads4(surf, x, y, layer, cudaBoundaryModeTrap); return make_short4((signed short)tmp.x, (signed short)tmp.y, (signed short)tmp.z, (signed short)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreads4(surf, x, y, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return (int)__surf2DLayeredreadu1(surf, x, y, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadu1(surf, x, y, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int1 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return make_int1((signed int)__surf2DLayeredreadu1(surf, x, y, layer, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadu1(surf, x, y, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int2 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surf2DLayeredreadu2(surf, x, y, layer, cudaBoundaryModeTrap); return make_int2((int)tmp.x, (int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadu2(surf, x, y, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int4 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surf2DLayeredreadu4(surf, x, y, layer, cudaBoundaryModeTrap); return make_int4((int)tmp.x, (int)tmp.y, (int)tmp.z, (int)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadu4(surf, x, y, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) long long int surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return (long long int)__surf2DLayeredreadl1(surf, x, y, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned long long int surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadl1(surf, x, y, layer, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong1 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return make_longlong1((long long int)__surf2DLayeredreadl1(surf, x, y, layer, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong1 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadl1(surf, x, y, layer, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong2 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { ulonglong2 tmp = __surf2DLayeredreadl2(surf, x, y, layer, cudaBoundaryModeTrap); return make_longlong2((long long int)tmp.x, (long long int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong2 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __surf2DLayeredreadl2(surf, x, y, layer, cudaBoundaryModeTrap); } # 1778 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return __int_as_float((int)__surf2DLayeredreadu1(surf, x, y, layer, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float1 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { return make_float1(__int_as_float((int)__surf2DLayeredreadu1(surf, x, y, layer, cudaBoundaryModeTrap).x)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float2 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surf2DLayeredreadu2(surf, x, y, layer, cudaBoundaryModeTrap); return make_float2(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float4 surf2DLayeredread(surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surf2DLayeredreadu4(surf, x, y, layer, cudaBoundaryModeTrap); return make_float4(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y), __int_as_float((int)tmp.z), __int_as_float((int)tmp.w)); } # 1813 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) uchar1 __surfCubemapreadc1(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar2 __surfCubemapreadc2(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar4 __surfCubemapreadc4(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort1 __surfCubemapreads1(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort2 __surfCubemapreads2(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort4 __surfCubemapreads4(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint1 __surfCubemapreadu1(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint2 __surfCubemapreadu2(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint4 __surfCubemapreadu4(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong1 __surfCubemapreadl1(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong2 __surfCubemapreadl2(surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); # 1839 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapread(T *res, surface surf, int x, int y, int face, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { (s == 1) ? (void)(*(uchar1 *)res = __surfCubemapreadc1(surf, x, y, face, cudaBoundaryModeTrap)) : (s == 2) ? (void)(*(ushort1*)res = __surfCubemapreads1(surf, x, y, face, cudaBoundaryModeTrap)) : (s == 4) ? (void)(*(uint1 *)res = __surfCubemapreadu1(surf, x, y, face, cudaBoundaryModeTrap)) : (s == 8) ? (void)(*(uint2 *)res = __surfCubemapreadu2(surf, x, y, face, cudaBoundaryModeTrap)) : (s == 16) ? (void)(*(uint4 *)res = __surfCubemapreadu4(surf, x, y, face, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) T surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { T tmp; surfCubemapread(&tmp, surf, x, y, face, (int)sizeof(T), mode); return tmp; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapread(T *res, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { *res = surfCubemapread(surf, x, y, face, mode); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return (char)__surfCubemapreadc1(surf, x, y, face, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) signed char surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return (signed char)__surfCubemapreadc1(surf, x, y, face, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadc1(surf, x, y, face, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char1 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return make_char1((signed char)__surfCubemapreadc1(surf, x, y, face, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadc1(surf, x, y, face, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char2 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { uchar2 tmp = __surfCubemapreadc2(surf, x, y, face, cudaBoundaryModeTrap); return make_char2((signed char)tmp.x, (signed char)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadc2(surf, x, y, face, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char4 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { uchar4 tmp = __surfCubemapreadc4(surf, x, y, face, cudaBoundaryModeTrap); return make_char4((signed char)tmp.x, (signed char)tmp.y, (signed char)tmp.z, (signed char)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadc4(surf, x, y, face, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return (short)__surfCubemapreads1(surf, x, y, face, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreads1(surf, x, y, face, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short1 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return make_short1((signed short)__surfCubemapreads1(surf, x, y, face, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreads1(surf, x, y, face, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short2 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { ushort2 tmp = __surfCubemapreads2(surf, x, y, face, cudaBoundaryModeTrap); return make_short2((signed short)tmp.x, (signed short)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreads2(surf, x, y, face, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short4 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { ushort4 tmp = __surfCubemapreads4(surf, x, y, face, cudaBoundaryModeTrap); return make_short4((signed short)tmp.x, (signed short)tmp.y, (signed short)tmp.z, (signed short)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreads4(surf, x, y, face, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return (int)__surfCubemapreadu1(surf, x, y, face, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadu1(surf, x, y, face, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int1 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return make_int1((signed int)__surfCubemapreadu1(surf, x, y, face, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadu1(surf, x, y, face, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int2 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surfCubemapreadu2(surf, x, y, face, cudaBoundaryModeTrap); return make_int2((int)tmp.x, (int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadu2(surf, x, y, face, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int4 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surfCubemapreadu4(surf, x, y, face, cudaBoundaryModeTrap); return make_int4((int)tmp.x, (int)tmp.y, (int)tmp.z, (int)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadu4(surf, x, y, face, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) long long int surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return (long long int)__surfCubemapreadl1(surf, x, y, face, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned long long int surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadl1(surf, x, y, face, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong1 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return make_longlong1((long long int)__surfCubemapreadl1(surf, x, y, face, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong1 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadl1(surf, x, y, face, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong2 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { ulonglong2 tmp = __surfCubemapreadl2(surf, x, y, face, cudaBoundaryModeTrap); return make_longlong2((long long int)tmp.x, (long long int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong2 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapreadl2(surf, x, y, face, cudaBoundaryModeTrap); } # 2126 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return __int_as_float((int)__surfCubemapreadu1(surf, x, y, face, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float1 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { return make_float1(__int_as_float((int)__surfCubemapreadu1(surf, x, y, face, cudaBoundaryModeTrap).x)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float2 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surfCubemapreadu2(surf, x, y, face, cudaBoundaryModeTrap); return make_float2(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float4 surfCubemapread(surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surfCubemapreadu4(surf, x, y, face, cudaBoundaryModeTrap); return make_float4(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y), __int_as_float((int)tmp.z), __int_as_float((int)tmp.w)); } # 2161 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) uchar1 __surfCubemapLayeredreadc1(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar2 __surfCubemapLayeredreadc2(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uchar4 __surfCubemapLayeredreadc4(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort1 __surfCubemapLayeredreads1(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort2 __surfCubemapLayeredreads2(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ushort4 __surfCubemapLayeredreads4(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint1 __surfCubemapLayeredreadu1(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint2 __surfCubemapLayeredreadu2(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) uint4 __surfCubemapLayeredreadu4(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong1 __surfCubemapLayeredreadl1(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) ulonglong2 __surfCubemapLayeredreadl2(surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); # 2188 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredread(T *res, surface surf, int x, int y, int layerFace, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { (s == 1) ? (void)(*(uchar1 *)res = __surfCubemapLayeredreadc1(surf, x, y, layerFace, cudaBoundaryModeTrap)) : (s == 2) ? (void)(*(ushort1*)res = __surfCubemapLayeredreads1(surf, x, y, layerFace, cudaBoundaryModeTrap)) : (s == 4) ? (void)(*(uint1 *)res = __surfCubemapLayeredreadu1(surf, x, y, layerFace, cudaBoundaryModeTrap)) : (s == 8) ? (void)(*(uint2 *)res = __surfCubemapLayeredreadu2(surf, x, y, layerFace, cudaBoundaryModeTrap)) : (s == 16) ? (void)(*(uint4 *)res = __surfCubemapLayeredreadu4(surf, x, y, layerFace, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) T surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { T tmp; surfCubemapLayeredread(&tmp, surf, x, y, layerFace, (int)sizeof(T), mode); return tmp; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredread(T *res, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { *res = surfCubemapLayeredread(surf, x, y, layerFace, mode); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return (char)__surfCubemapLayeredreadc1(surf, x, y, layerFace, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) signed char surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return (signed char)__surfCubemapLayeredreadc1(surf, x, y, layerFace, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadc1(surf, x, y, layerFace, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char1 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return make_char1((signed char)__surfCubemapLayeredreadc1(surf, x, y, layerFace, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadc1(surf, x, y, layerFace, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char2 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { uchar2 tmp = __surfCubemapLayeredreadc2(surf, x, y, layerFace, cudaBoundaryModeTrap); return make_char2((signed char)tmp.x, (signed char)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadc2(surf, x, y, layerFace, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) char4 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { uchar4 tmp = __surfCubemapLayeredreadc4(surf, x, y, layerFace, cudaBoundaryModeTrap); return make_char4((signed char)tmp.x, (signed char)tmp.y, (signed char)tmp.z, (signed char)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadc4(surf, x, y, layerFace, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return (short)__surfCubemapLayeredreads1(surf, x, y, layerFace, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreads1(surf, x, y, layerFace, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short1 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return make_short1((signed short)__surfCubemapLayeredreads1(surf, x, y, layerFace, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreads1(surf, x, y, layerFace, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short2 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { ushort2 tmp = __surfCubemapLayeredreads2(surf, x, y, layerFace, cudaBoundaryModeTrap); return make_short2((signed short)tmp.x, (signed short)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreads2(surf, x, y, layerFace, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) short4 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { ushort4 tmp = __surfCubemapLayeredreads4(surf, x, y, layerFace, cudaBoundaryModeTrap); return make_short4((signed short)tmp.x, (signed short)tmp.y, (signed short)tmp.z, (signed short)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreads4(surf, x, y, layerFace, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return (int)__surfCubemapLayeredreadu1(surf, x, y, layerFace, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadu1(surf, x, y, layerFace, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int1 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return make_int1((signed int)__surfCubemapLayeredreadu1(surf, x, y, layerFace, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadu1(surf, x, y, layerFace, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int2 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surfCubemapLayeredreadu2(surf, x, y, layerFace, cudaBoundaryModeTrap); return make_int2((int)tmp.x, (int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadu2(surf, x, y, layerFace, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) int4 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surfCubemapLayeredreadu4(surf, x, y, layerFace, cudaBoundaryModeTrap); return make_int4((int)tmp.x, (int)tmp.y, (int)tmp.z, (int)tmp.w); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadu4(surf, x, y, layerFace, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) long long int surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return (long long int)__surfCubemapLayeredreadl1(surf, x, y, layerFace, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned long long int surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadl1(surf, x, y, layerFace, cudaBoundaryModeTrap).x; } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong1 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return make_longlong1((long long int)__surfCubemapLayeredreadl1(surf, x, y, layerFace, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong1 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadl1(surf, x, y, layerFace, cudaBoundaryModeTrap); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) longlong2 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { ulonglong2 tmp = __surfCubemapLayeredreadl2(surf, x, y, layerFace, cudaBoundaryModeTrap); return make_longlong2((long long int)tmp.x, (long long int)tmp.y); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) ulonglong2 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __surfCubemapLayeredreadl2(surf, x, y, layerFace, cudaBoundaryModeTrap); } # 2475 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return __int_as_float((int)__surfCubemapLayeredreadu1(surf, x, y, layerFace, cudaBoundaryModeTrap).x); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float1 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { return make_float1(__int_as_float((int)__surfCubemapLayeredreadu1(surf, x, y, layerFace, cudaBoundaryModeTrap).x)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float2 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { uint2 tmp = __surfCubemapLayeredreadu2(surf, x, y, layerFace, cudaBoundaryModeTrap); return make_float2(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y)); } template<> __inline__ __attribute__((always_inline)) __attribute__((device)) float4 surfCubemapLayeredread(surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode) { uint4 tmp = __surfCubemapLayeredreadu4(surf, x, y, layerFace, cudaBoundaryModeTrap); return make_float4(__int_as_float((int)tmp.x), __int_as_float((int)tmp.y), __int_as_float((int)tmp.z), __int_as_float((int)tmp.w)); } # 2511 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwritec1( uchar1 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwritec2( uchar2 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwritec4( uchar4 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwrites1( ushort1 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwrites2( ushort2 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwrites4( ushort4 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwriteu1( uint1 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwriteu2( uint2 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwriteu4( uint4 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwritel1(ulonglong1 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1Dwritel2(ulonglong2 val, surface t, int x, enum cudaSurfaceBoundaryMode mode); # 2537 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(T val, surface surf, int x, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { union { T val; uchar1 c1; ushort1 s1; uint1 u1; uint2 u2; uint4 u4; } tmp; tmp.val = val; (s == 1) ? (void)(__surf1Dwritec1(tmp.c1, surf, x, cudaBoundaryModeTrap)) : (s == 2) ? (void)(__surf1Dwrites1(tmp.s1, surf, x, cudaBoundaryModeTrap)) : (s == 4) ? (void)(__surf1Dwriteu1(tmp.u1, surf, x, cudaBoundaryModeTrap)) : (s == 8) ? (void)(__surf1Dwriteu2(tmp.u2, surf, x, cudaBoundaryModeTrap)) : (s == 16) ? (void)(__surf1Dwriteu4(tmp.u4, surf, x, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(T val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) {; surf1Dwrite(val, surf, x, (int)sizeof(T), mode); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(char val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritec1(make_uchar1((unsigned char)val), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(signed char val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritec1(make_uchar1((unsigned char)val), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(unsigned char val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritec1(make_uchar1(val), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(char1 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritec1(make_uchar1((unsigned char)val.x), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(uchar1 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritec1(val, surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(char2 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritec2(make_uchar2((unsigned char)val.x, (unsigned char)val.y), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(uchar2 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritec2(val, surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(char4 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritec4(make_uchar4((unsigned char)val.x, (unsigned char)val.y, (unsigned char)val.z, (unsigned char)val.w), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(uchar4 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritec4(val, surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(short val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwrites1(make_ushort1((unsigned short)val), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(unsigned short val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwrites1(make_ushort1(val), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(short1 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwrites1(make_ushort1((unsigned short)val.x), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(ushort1 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwrites1(val, surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(short2 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwrites2(make_ushort2((unsigned short)val.x, (unsigned short)val.y), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(ushort2 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwrites2(val, surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(short4 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwrites4(make_ushort4((unsigned short)val.x, (unsigned short)val.y, (unsigned short)val.z, (unsigned short)val.w), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(ushort4 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwrites4(val, surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(int val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu1(make_uint1((unsigned int)val), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(unsigned int val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu1(make_uint1(val), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(int1 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu1(make_uint1((unsigned int)val.x), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(uint1 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu1(val, surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(int2 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu2(make_uint2((unsigned int)val.x, (unsigned int)val.y), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(uint2 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu2(val, surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(int4 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu4(make_uint4((unsigned int)val.x, (unsigned int)val.y, (unsigned int)val.z, (unsigned int)val.w), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(uint4 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu4(val, surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(long long int val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritel1(make_ulonglong1((unsigned long long int)val), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(unsigned long long int val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritel1(make_ulonglong1(val), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(longlong1 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritel1(make_ulonglong1((unsigned long long int)val.x), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(ulonglong1 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritel1(val, surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(longlong2 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritel2(make_ulonglong2((unsigned long long int)val.x, (unsigned long long int)val.y), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(ulonglong2 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwritel2(val, surf, x, cudaBoundaryModeTrap); } # 2765 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(float val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu1(make_uint1((unsigned int)__float_as_int(val)), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(float1 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu1(make_uint1((unsigned int)__float_as_int(val.x)), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(float2 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu2(make_uint2((unsigned int)__float_as_int(val.x), __float_as_int((unsigned int)val.y)), surf, x, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1Dwrite(float4 val, surface surf, int x, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1Dwriteu4(make_uint4((unsigned int)__float_as_int(val.x), (unsigned int)__float_as_int(val.y), (unsigned int)__float_as_int(val.z), (unsigned int)__float_as_int(val.w)), surf, x, cudaBoundaryModeTrap); } # 2793 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwritec1( uchar1 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwritec2( uchar2 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwritec4( uchar4 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwrites1( ushort1 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwrites2( ushort2 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwrites4( ushort4 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwriteu1( uint1 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwriteu2( uint2 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwriteu4( uint4 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwritel1(ulonglong1 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2Dwritel2(ulonglong2 val, surface t, int x, int y, enum cudaSurfaceBoundaryMode mode); # 2819 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(T val, surface surf, int x, int y, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { union { T val; uchar1 c1; ushort1 s1; uint1 u1; uint2 u2; uint4 u4; } tmp; tmp.val = val; (s == 1) ? (void)(__surf2Dwritec1(tmp.c1, surf, x, y, cudaBoundaryModeTrap)) : (s == 2) ? (void)(__surf2Dwrites1(tmp.s1, surf, x, y, cudaBoundaryModeTrap)) : (s == 4) ? (void)(__surf2Dwriteu1(tmp.u1, surf, x, y, cudaBoundaryModeTrap)) : (s == 8) ? (void)(__surf2Dwriteu2(tmp.u2, surf, x, y, cudaBoundaryModeTrap)) : (s == 16) ? (void)(__surf2Dwriteu4(tmp.u4, surf, x, y, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(T val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) {; surf2Dwrite(val, surf, x, y, (int)sizeof(T), mode); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(char val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritec1(make_uchar1((unsigned char)val), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(signed char val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritec1(make_uchar1((unsigned char)val), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(unsigned char val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritec1(make_uchar1(val), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(char1 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritec1(make_uchar1((unsigned char)val.x), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(uchar1 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritec1(val, surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(char2 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritec2(make_uchar2((unsigned char)val.x, (unsigned char)val.y), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(uchar2 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritec2(val, surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(char4 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritec4(make_uchar4((unsigned char)val.x, (unsigned char)val.y, (unsigned char)val.z, (unsigned char)val.w), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(uchar4 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritec4(val, surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(short val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwrites1(make_ushort1((unsigned short)val), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(unsigned short val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwrites1(make_ushort1(val), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(short1 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwrites1(make_ushort1((unsigned short)val.x), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(ushort1 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwrites1(val, surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(short2 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwrites2(make_ushort2((unsigned short)val.x, (unsigned short)val.y), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(ushort2 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwrites2(val, surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(short4 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwrites4(make_ushort4((unsigned short)val.x, (unsigned short)val.y, (unsigned short)val.z, (unsigned short)val.w), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(ushort4 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwrites4(val, surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(int val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu1(make_uint1((unsigned int)val), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(unsigned int val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu1(make_uint1(val), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(int1 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu1(make_uint1((unsigned int)val.x), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(uint1 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu1(val, surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(int2 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu2(make_uint2((unsigned int)val.x, (unsigned int)val.y), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(uint2 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu2(val, surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(int4 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu4(make_uint4((unsigned int)val.x, (unsigned int)val.y, (unsigned int)val.z, (unsigned int)val.w), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(uint4 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu4(val, surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(long long int val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritel1(make_ulonglong1((unsigned long long int)val), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(unsigned long long int val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritel1(make_ulonglong1(val), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(longlong1 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritel1(make_ulonglong1((unsigned long long int)val.x), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(ulonglong1 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritel1(val, surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(longlong2 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritel2(make_ulonglong2((unsigned long long int)val.x, (unsigned long long int)val.y), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(ulonglong2 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwritel2(val, surf, x, y, cudaBoundaryModeTrap); } # 3047 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(float val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu1(make_uint1((unsigned int)__float_as_int(val)), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(float1 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu1(make_uint1((unsigned int)__float_as_int(val.x)), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(float2 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu2(make_uint2((unsigned int)__float_as_int(val.x), __float_as_int((unsigned int)val.y)), surf, x, y, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2Dwrite(float4 val, surface surf, int x, int y, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2Dwriteu4(make_uint4((unsigned int)__float_as_int(val.x), (unsigned int)__float_as_int(val.y), (unsigned int)__float_as_int(val.z), (unsigned int)__float_as_int(val.w)), surf, x, y, cudaBoundaryModeTrap); } # 3075 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwritec1( uchar1 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwritec2( uchar2 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwritec4( uchar4 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwrites1( ushort1 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwrites2( ushort2 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwrites4( ushort4 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwriteu1( uint1 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwriteu2( uint2 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwriteu4( uint4 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwritel1(ulonglong1 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf3Dwritel2(ulonglong2 val, surface t, int x, int y, int z, enum cudaSurfaceBoundaryMode mode); # 3101 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(T val, surface surf, int x, int y, int z, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { union { T val; uchar1 c1; ushort1 s1; uint1 u1; uint2 u2; uint4 u4; } tmp; tmp.val = val; (s == 1) ? (void)(__surf3Dwritec1(tmp.c1, surf, x, y, z, cudaBoundaryModeTrap)) : (s == 2) ? (void)(__surf3Dwrites1(tmp.s1, surf, x, y, z, cudaBoundaryModeTrap)) : (s == 4) ? (void)(__surf3Dwriteu1(tmp.u1, surf, x, y, z, cudaBoundaryModeTrap)) : (s == 8) ? (void)(__surf3Dwriteu2(tmp.u2, surf, x, y, z, cudaBoundaryModeTrap)) : (s == 16) ? (void)(__surf3Dwriteu4(tmp.u4, surf, x, y, z, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(T val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) {; surf3Dwrite(val, surf, x, y, z, (int)sizeof(T), mode); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(char val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritec1(make_uchar1((unsigned char)val), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(signed char val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritec1(make_uchar1((unsigned char)val), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(unsigned char val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritec1(make_uchar1(val), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(char1 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritec1(make_uchar1((unsigned char)val.x), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(uchar1 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritec1(val, surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(char2 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritec2(make_uchar2((unsigned char)val.x, (unsigned char)val.y), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(uchar2 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritec2(val, surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(char4 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritec4(make_uchar4((unsigned char)val.x, (unsigned char)val.y, (unsigned char)val.z, (unsigned char)val.w), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(uchar4 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritec4(val, surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(short val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwrites1(make_ushort1((unsigned short)val), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(unsigned short val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwrites1(make_ushort1(val), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(short1 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwrites1(make_ushort1((unsigned short)val.x), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(ushort1 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwrites1(val, surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(short2 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwrites2(make_ushort2((unsigned short)val.x, (unsigned short)val.y), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(ushort2 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwrites2(val, surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(short4 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwrites4(make_ushort4((unsigned short)val.x, (unsigned short)val.y, (unsigned short)val.z, (unsigned short)val.w), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(ushort4 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwrites4(val, surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(int val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu1(make_uint1((unsigned int)val), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(unsigned int val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu1(make_uint1(val), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(int1 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu1(make_uint1((unsigned int)val.x), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(uint1 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu1(val, surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(int2 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu2(make_uint2((unsigned int)val.x, (unsigned int)val.y), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(uint2 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu2(val, surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(int4 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu4(make_uint4((unsigned int)val.x, (unsigned int)val.y, (unsigned int)val.z, (unsigned int)val.w), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(uint4 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu4(val, surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(long long int val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritel1(make_ulonglong1((unsigned long long int)val), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(unsigned long long int val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritel1(make_ulonglong1(val), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(longlong1 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritel1(make_ulonglong1((unsigned long long int)val.x), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(ulonglong1 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritel1(val, surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(longlong2 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritel2(make_ulonglong2((unsigned long long int)val.x, (unsigned long long int)val.y), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(ulonglong2 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwritel2(val, surf, x, y, z, cudaBoundaryModeTrap); } # 3329 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(float val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu1(make_uint1((unsigned int)__float_as_int(val)), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(float1 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu1(make_uint1((unsigned int)__float_as_int(val.x)), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(float2 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu2(make_uint2((unsigned int)__float_as_int(val.x), __float_as_int((unsigned int)val.y)), surf, x, y, z, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf3Dwrite(float4 val, surface surf, int x, int y, int z, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf3Dwriteu4(make_uint4((unsigned int)__float_as_int(val.x), (unsigned int)__float_as_int(val.y), (unsigned int)__float_as_int(val.z), (unsigned int)__float_as_int(val.w)), surf, x, y, z, cudaBoundaryModeTrap); } # 3357 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwritec1( uchar1 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwritec2( uchar2 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwritec4( uchar4 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwrites1( ushort1 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwrites2( ushort2 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwrites4( ushort4 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwriteu1( uint1 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwriteu2( uint2 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwriteu4( uint4 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwritel1(ulonglong1 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf1DLayeredwritel2(ulonglong2 val, surface t, int x, int layer, enum cudaSurfaceBoundaryMode mode); # 3383 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(T val, surface surf, int x, int layer, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { union { T val; uchar1 c1; ushort1 s1; uint1 u1; uint2 u2; uint4 u4; } tmp; tmp.val = val; (s == 1) ? (void)(__surf1DLayeredwritec1(tmp.c1, surf, x, layer, cudaBoundaryModeTrap)) : (s == 2) ? (void)(__surf1DLayeredwrites1(tmp.s1, surf, x, layer, cudaBoundaryModeTrap)) : (s == 4) ? (void)(__surf1DLayeredwriteu1(tmp.u1, surf, x, layer, cudaBoundaryModeTrap)) : (s == 8) ? (void)(__surf1DLayeredwriteu2(tmp.u2, surf, x, layer, cudaBoundaryModeTrap)) : (s == 16) ? (void)(__surf1DLayeredwriteu4(tmp.u4, surf, x, layer, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(T val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) {; surf1DLayeredwrite(val, surf, x, layer, (int)sizeof(T), mode); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(char val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritec1(make_uchar1((unsigned char)val), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(signed char val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritec1(make_uchar1((unsigned char)val), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(unsigned char val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritec1(make_uchar1(val), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(char1 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritec1(make_uchar1((unsigned char)val.x), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(uchar1 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritec1(val, surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(char2 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritec2(make_uchar2((unsigned char)val.x, (unsigned char)val.y), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(uchar2 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritec2(val, surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(char4 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritec4(make_uchar4((unsigned char)val.x, (unsigned char)val.y, (unsigned char)val.z, (unsigned char)val.w), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(uchar4 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritec4(val, surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(short val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwrites1(make_ushort1((unsigned short)val), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(unsigned short val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwrites1(make_ushort1(val), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(short1 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwrites1(make_ushort1((unsigned short)val.x), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(ushort1 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwrites1(val, surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(short2 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwrites2(make_ushort2((unsigned short)val.x, (unsigned short)val.y), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(ushort2 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwrites2(val, surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(short4 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwrites4(make_ushort4((unsigned short)val.x, (unsigned short)val.y, (unsigned short)val.z, (unsigned short)val.w), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(ushort4 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwrites4(val, surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(int val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu1(make_uint1((unsigned int)val), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(unsigned int val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu1(make_uint1(val), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(int1 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu1(make_uint1((unsigned int)val.x), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(uint1 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu1(val, surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(int2 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu2(make_uint2((unsigned int)val.x, (unsigned int)val.y), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(uint2 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu2(val, surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(int4 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu4(make_uint4((unsigned int)val.x, (unsigned int)val.y, (unsigned int)val.z, (unsigned int)val.w), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(uint4 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu4(val, surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(long long int val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritel1(make_ulonglong1((unsigned long long int)val), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(unsigned long long int val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritel1(make_ulonglong1(val), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(longlong1 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritel1(make_ulonglong1((unsigned long long int)val.x), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(ulonglong1 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritel1(val, surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(longlong2 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritel2(make_ulonglong2((unsigned long long int)val.x, (unsigned long long int)val.y), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(ulonglong2 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwritel2(val, surf, x, layer, cudaBoundaryModeTrap); } # 3611 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(float val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu1(make_uint1((unsigned int)__float_as_int(val)), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(float1 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu1(make_uint1((unsigned int)__float_as_int(val.x)), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(float2 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu2(make_uint2((unsigned int)__float_as_int(val.x), __float_as_int((unsigned int)val.y)), surf, x, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf1DLayeredwrite(float4 val, surface surf, int x, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf1DLayeredwriteu4(make_uint4((unsigned int)__float_as_int(val.x), (unsigned int)__float_as_int(val.y), (unsigned int)__float_as_int(val.z), (unsigned int)__float_as_int(val.w)), surf, x, layer, cudaBoundaryModeTrap); } # 3639 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwritec1( uchar1 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwritec2( uchar2 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwritec4( uchar4 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwrites1( ushort1 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwrites2( ushort2 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwrites4( ushort4 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwriteu1( uint1 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwriteu2( uint2 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwriteu4( uint4 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwritel1(ulonglong1 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surf2DLayeredwritel2(ulonglong2 val, surface t, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode); # 3665 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(T val, surface surf, int x, int y, int layer, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { union { T val; uchar1 c1; ushort1 s1; uint1 u1; uint2 u2; uint4 u4; } tmp; tmp.val = val; (s == 1) ? (void)(__surf2DLayeredwritec1(tmp.c1, surf, x, y, layer, cudaBoundaryModeTrap)) : (s == 2) ? (void)(__surf2DLayeredwrites1(tmp.s1, surf, x, y, layer, cudaBoundaryModeTrap)) : (s == 4) ? (void)(__surf2DLayeredwriteu1(tmp.u1, surf, x, y, layer, cudaBoundaryModeTrap)) : (s == 8) ? (void)(__surf2DLayeredwriteu2(tmp.u2, surf, x, y, layer, cudaBoundaryModeTrap)) : (s == 16) ? (void)(__surf2DLayeredwriteu4(tmp.u4, surf, x, y, layer, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(T val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) {; surf2DLayeredwrite(val, surf, x, y, layer, (int)sizeof(T), mode); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(char val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritec1(make_uchar1((unsigned char)val), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(signed char val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritec1(make_uchar1((unsigned char)val), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(unsigned char val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritec1(make_uchar1(val), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(char1 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritec1(make_uchar1((unsigned char)val.x), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(uchar1 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritec1(val, surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(char2 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritec2(make_uchar2((unsigned char)val.x, (unsigned char)val.y), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(uchar2 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritec2(val, surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(char4 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritec4(make_uchar4((unsigned char)val.x, (unsigned char)val.y, (unsigned char)val.z, (unsigned char)val.w), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(uchar4 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritec4(val, surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(short val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwrites1(make_ushort1((unsigned short)val), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(unsigned short val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwrites1(make_ushort1(val), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(short1 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwrites1(make_ushort1((unsigned short)val.x), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(ushort1 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwrites1(val, surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(short2 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwrites2(make_ushort2((unsigned short)val.x, (unsigned short)val.y), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(ushort2 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwrites2(val, surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(short4 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwrites4(make_ushort4((unsigned short)val.x, (unsigned short)val.y, (unsigned short)val.z, (unsigned short)val.w), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(ushort4 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwrites4(val, surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(int val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu1(make_uint1((unsigned int)val), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(unsigned int val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu1(make_uint1(val), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(int1 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu1(make_uint1((unsigned int)val.x), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(uint1 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu1(val, surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(int2 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu2(make_uint2((unsigned int)val.x, (unsigned int)val.y), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(uint2 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu2(val, surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(int4 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu4(make_uint4((unsigned int)val.x, (unsigned int)val.y, (unsigned int)val.z, (unsigned int)val.w), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(uint4 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu4(val, surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(long long int val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritel1(make_ulonglong1((unsigned long long int)val), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(unsigned long long int val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritel1(make_ulonglong1(val), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(longlong1 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritel1(make_ulonglong1((unsigned long long int)val.x), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(ulonglong1 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritel1(val, surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(longlong2 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritel2(make_ulonglong2((unsigned long long int)val.x, (unsigned long long int)val.y), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(ulonglong2 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwritel2(val, surf, x, y, layer, cudaBoundaryModeTrap); } # 3893 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(float val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu1(make_uint1((unsigned int)__float_as_int(val)), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(float1 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu1(make_uint1((unsigned int)__float_as_int(val.x)), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(float2 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu2(make_uint2((unsigned int)__float_as_int(val.x), __float_as_int((unsigned int)val.y)), surf, x, y, layer, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surf2DLayeredwrite(float4 val, surface surf, int x, int y, int layer, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surf2DLayeredwriteu4(make_uint4((unsigned int)__float_as_int(val.x), (unsigned int)__float_as_int(val.y), (unsigned int)__float_as_int(val.z), (unsigned int)__float_as_int(val.w)), surf, x, y, layer, cudaBoundaryModeTrap); } # 3920 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwritec1( uchar1 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwritec2( uchar2 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwritec4( uchar4 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwrites1( ushort1 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwrites2( ushort2 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwrites4( ushort4 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwriteu1( uint1 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwriteu2( uint2 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwriteu4( uint4 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwritel1(ulonglong1 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapwritel2(ulonglong2 val, surface t, int x, int y, int face, enum cudaSurfaceBoundaryMode mode); # 3947 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(T val, surface surf, int x, int y, int face, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { union { T val; uchar1 c1; ushort1 s1; uint1 u1; uint2 u2; uint4 u4; } tmp; tmp.val = val; (s == 1) ? (void)(__surfCubemapwritec1(tmp.c1, surf, x, y, face, cudaBoundaryModeTrap)) : (s == 2) ? (void)(__surfCubemapwrites1(tmp.s1, surf, x, y, face, cudaBoundaryModeTrap)) : (s == 4) ? (void)(__surfCubemapwriteu1(tmp.u1, surf, x, y, face, cudaBoundaryModeTrap)) : (s == 8) ? (void)(__surfCubemapwriteu2(tmp.u2, surf, x, y, face, cudaBoundaryModeTrap)) : (s == 16) ? (void)(__surfCubemapwriteu4(tmp.u4, surf, x, y, face, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(T val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) {; surfCubemapwrite(val, surf, x, y, face, (int)sizeof(T), mode); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(char val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritec1(make_uchar1((unsigned char)val), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(signed char val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritec1(make_uchar1((unsigned char)val), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(unsigned char val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritec1(make_uchar1(val), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(char1 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritec1(make_uchar1((unsigned char)val.x), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(uchar1 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritec1(val, surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(char2 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritec2(make_uchar2((unsigned char)val.x, (unsigned char)val.y), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(uchar2 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritec2(val, surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(char4 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritec4(make_uchar4((unsigned char)val.x, (unsigned char)val.y, (unsigned char)val.z, (unsigned char)val.w), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(uchar4 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritec4(val, surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(short val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwrites1(make_ushort1((unsigned short)val), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(unsigned short val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwrites1(make_ushort1(val), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(short1 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwrites1(make_ushort1((unsigned short)val.x), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(ushort1 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwrites1(val, surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(short2 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwrites2(make_ushort2((unsigned short)val.x, (unsigned short)val.y), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(ushort2 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwrites2(val, surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(short4 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwrites4(make_ushort4((unsigned short)val.x, (unsigned short)val.y, (unsigned short)val.z, (unsigned short)val.w), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(ushort4 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwrites4(val, surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(int val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu1(make_uint1((unsigned int)val), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(unsigned int val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu1(make_uint1(val), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(int1 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu1(make_uint1((unsigned int)val.x), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(uint1 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu1(val, surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(int2 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu2(make_uint2((unsigned int)val.x, (unsigned int)val.y), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(uint2 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu2(val, surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(int4 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu4(make_uint4((unsigned int)val.x, (unsigned int)val.y, (unsigned int)val.z, (unsigned int)val.w), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(uint4 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu4(val, surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(long long int val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritel1(make_ulonglong1((unsigned long long int)val), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(unsigned long long int val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritel1(make_ulonglong1(val), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(longlong1 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritel1(make_ulonglong1((unsigned long long int)val.x), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(ulonglong1 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritel1(val, surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(longlong2 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritel2(make_ulonglong2((unsigned long long int)val.x, (unsigned long long int)val.y), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(ulonglong2 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwritel2(val, surf, x, y, face, cudaBoundaryModeTrap); } # 4175 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(float val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu1(make_uint1((unsigned int)__float_as_int(val)), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(float1 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu1(make_uint1((unsigned int)__float_as_int(val.x)), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(float2 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu2(make_uint2((unsigned int)__float_as_int(val.x), __float_as_int((unsigned int)val.y)), surf, x, y, face, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapwrite(float4 val, surface surf, int x, int y, int face, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapwriteu4(make_uint4((unsigned int)__float_as_int(val.x), (unsigned int)__float_as_int(val.y), (unsigned int)__float_as_int(val.z), (unsigned int)__float_as_int(val.w)), surf, x, y, face, cudaBoundaryModeTrap); } # 4202 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwritec1( uchar1 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwritec2( uchar2 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwritec4( uchar4 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwrites1( ushort1 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwrites2( ushort2 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwrites4( ushort4 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwriteu1( uint1 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwriteu2( uint2 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwriteu4( uint4 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwritel1(ulonglong1 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); extern __attribute__((device)) __attribute__((device_builtin)) void __surfCubemapLayeredwritel2(ulonglong2 val, surface t, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode); # 4229 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(T val, surface surf, int x, int y, int layerFace, int s, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { union { T val; uchar1 c1; ushort1 s1; uint1 u1; uint2 u2; uint4 u4; } tmp; tmp.val = val; (s == 1) ? (void)(__surfCubemapLayeredwritec1(tmp.c1, surf, x, y, layerFace, cudaBoundaryModeTrap)) : (s == 2) ? (void)(__surfCubemapLayeredwrites1(tmp.s1, surf, x, y, layerFace, cudaBoundaryModeTrap)) : (s == 4) ? (void)(__surfCubemapLayeredwriteu1(tmp.u1, surf, x, y, layerFace, cudaBoundaryModeTrap)) : (s == 8) ? (void)(__surfCubemapLayeredwriteu2(tmp.u2, surf, x, y, layerFace, cudaBoundaryModeTrap)) : (s == 16) ? (void)(__surfCubemapLayeredwriteu4(tmp.u4, surf, x, y, layerFace, cudaBoundaryModeTrap)) : (void)0; } template static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(T val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) {; surfCubemapLayeredwrite(val, surf, x, y, layerFace, (int)sizeof(T), mode); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(char val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritec1(make_uchar1((unsigned char)val), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(signed char val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritec1(make_uchar1((unsigned char)val), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(unsigned char val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritec1(make_uchar1(val), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(char1 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritec1(make_uchar1((unsigned char)val.x), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(uchar1 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritec1(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(char2 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritec2(make_uchar2((unsigned char)val.x, (unsigned char)val.y), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(uchar2 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritec2(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(char4 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritec4(make_uchar4((unsigned char)val.x, (unsigned char)val.y, (unsigned char)val.z, (unsigned char)val.w), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(uchar4 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritec4(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(short val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwrites1(make_ushort1((unsigned short)val), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(unsigned short val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwrites1(make_ushort1(val), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(short1 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwrites1(make_ushort1((unsigned short)val.x), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(ushort1 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwrites1(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(short2 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwrites2(make_ushort2((unsigned short)val.x, (unsigned short)val.y), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(ushort2 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwrites2(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(short4 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwrites4(make_ushort4((unsigned short)val.x, (unsigned short)val.y, (unsigned short)val.z, (unsigned short)val.w), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(ushort4 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwrites4(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(int val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu1(make_uint1((unsigned int)val), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(unsigned int val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu1(make_uint1(val), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(int1 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu1(make_uint1((unsigned int)val.x), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(uint1 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu1(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(int2 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu2(make_uint2((unsigned int)val.x, (unsigned int)val.y), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(uint2 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu2(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(int4 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu4(make_uint4((unsigned int)val.x, (unsigned int)val.y, (unsigned int)val.z, (unsigned int)val.w), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(uint4 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu4(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(long long int val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritel1(make_ulonglong1((unsigned long long int)val), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(unsigned long long int val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritel1(make_ulonglong1(val), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(longlong1 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritel1(make_ulonglong1((unsigned long long int)val.x), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(ulonglong1 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritel1(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(longlong2 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritel2(make_ulonglong2((unsigned long long int)val.x, (unsigned long long int)val.y), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(ulonglong2 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwritel2(val, surf, x, y, layerFace, cudaBoundaryModeTrap); } # 4457 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(float val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu1(make_uint1((unsigned int)__float_as_int(val)), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(float1 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu1(make_uint1((unsigned int)__float_as_int(val.x)), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(float2 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu2(make_uint2((unsigned int)__float_as_int(val.x), __float_as_int((unsigned int)val.y)), surf, x, y, layerFace, cudaBoundaryModeTrap); } static __inline__ __attribute__((always_inline)) __attribute__((device)) void surfCubemapLayeredwrite(float4 val, surface surf, int x, int y, int layerFace, enum cudaSurfaceBoundaryMode mode = cudaBoundaryModeTrap) { __surfCubemapLayeredwriteu4(make_uint4((unsigned int)__float_as_int(val.x), (unsigned int)__float_as_int(val.y), (unsigned int)__float_as_int(val.z), (unsigned int)__float_as_int(val.w)), surf, x, y, layerFace, cudaBoundaryModeTrap); } # 6394 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" 1 # 61 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/builtin_types.h" 1 # 62 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" 2 # 74 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" template extern __attribute__((device)) __attribute__((device_builtin)) uint4 __utexfetchi(texture t, int4 i); template extern __attribute__((device)) __attribute__((device_builtin)) int4 __itexfetchi(texture t, int4 i); template extern __attribute__((device)) __attribute__((device_builtin)) float4 __ftexfetchi(texture t, int4 i); template extern __attribute__((device)) __attribute__((device_builtin)) uint4 __utexfetch(texture t, float4 i, int d = texType); template extern __attribute__((device)) __attribute__((device_builtin)) int4 __itexfetch(texture t, float4 i, int d = texType); template extern __attribute__((device)) __attribute__((device_builtin)) float4 __ftexfetch(texture t, float4 i, int d = texType); template extern __attribute__((device)) __attribute__((device_builtin)) uint4 __utexfetchc(texture t, float4 i); template extern __attribute__((device)) __attribute__((device_builtin)) int4 __itexfetchc(texture t, float4 i); template extern __attribute__((device)) __attribute__((device_builtin)) float4 __ftexfetchc(texture t, float4 i); template extern __attribute__((device)) __attribute__((device_builtin)) uint4 __utexfetchl(texture t, float4 i, int l, int d = (texType & 0xF)); template extern __attribute__((device)) __attribute__((device_builtin)) int4 __itexfetchl(texture t, float4 i, int l, int d = (texType & 0xF)); template extern __attribute__((device)) __attribute__((device_builtin)) float4 __ftexfetchl(texture t, float4 i, int l, int d = (texType & 0xF)); template extern __attribute__((device)) __attribute__((device_builtin)) uint4 __utexfetchlc(texture t, float4 i, int l); template extern __attribute__((device)) __attribute__((device_builtin)) int4 __itexfetchlc(texture t, float4 i, int l); template extern __attribute__((device)) __attribute__((device_builtin)) float4 __ftexfetchlc(texture t, float4 i, int l); static __inline__ __attribute__((always_inline)) __attribute__((device)) char tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return (char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) signed char tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return (signed char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return (unsigned char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) char1 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return make_char1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return make_uchar1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char2 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return make_char2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return make_uchar2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char4 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return make_char4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return make_uchar4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return (short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return (unsigned short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) short1 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return make_short1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return make_ushort1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short2 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return make_short2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return make_ushort2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short4 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return make_short4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return make_ushort4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return (int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return (unsigned int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) int1 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return make_int1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return make_uint1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int2 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return make_int2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return make_uint2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int4 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); return make_int4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); return make_uint4(v.x, v.y, v.z, v.w); } # 359 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1Dfetch(texture t, int x) { float4 v = __ftexfetchi(t, make_int4(x, 0, 0, 0)); return v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1Dfetch(texture t, int x) { float4 v = __ftexfetchi(t, make_int4(x, 0, 0, 0)); return make_float1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1Dfetch(texture t, int x) { float4 v = __ftexfetchi(t, make_int4(x, 0, 0, 0)); return make_float2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1Dfetch(texture t, int x) { float4 v = __ftexfetchi(t, make_int4(x, 0, 0, 0)); return make_float4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1Dfetch(texture t, int x) { int4 v = __itexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1Dfetch(texture t, int x) { uint4 v = __utexfetchi(t, make_int4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return (char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) signed char tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return (signed char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return (unsigned char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) char1 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return make_char1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return make_uchar1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char2 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return make_char2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return make_uchar2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char4 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return make_char4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return make_uchar4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return (short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return (unsigned short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) short1 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return make_short1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return make_ushort1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short2 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return make_short2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return make_ushort2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short4 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return make_short4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return make_ushort4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return (int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return (unsigned int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) int1 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return make_int1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return make_uint1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int2 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return make_int2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return make_uint2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int4 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); return make_int4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); return make_uint4(v.x, v.y, v.z, v.w); } # 814 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1D(texture t, float x) { float4 v = __ftexfetch(t, make_float4(x, 0, 0, 0)); return v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1D(texture t, float x) { float4 v = __ftexfetch(t, make_float4(x, 0, 0, 0)); return make_float1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1D(texture t, float x) { float4 v = __ftexfetch(t, make_float4(x, 0, 0, 0)); return make_float2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1D(texture t, float x) { float4 v = __ftexfetch(t, make_float4(x, 0, 0, 0)); return make_float4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1D(texture t, float x) { int4 v = __itexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1D(texture t, float x) { uint4 v = __utexfetch(t, make_float4(x, 0, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return (char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) signed char tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return (signed char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return (unsigned char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) char1 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return make_char1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return make_uchar1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char2 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return make_char2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return make_uchar2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char4 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return make_char4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return make_uchar4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return (short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return (unsigned short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) short1 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return make_short1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return make_ushort1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short2 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return make_short2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return make_ushort2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short4 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return make_short4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return make_ushort4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return (int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return (unsigned int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) int1 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return make_int1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return make_uint1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int2 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return make_int2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return make_uint2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int4 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); return make_int4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); return make_uint4(v.x, v.y, v.z, v.w); } # 1263 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2D(texture t, float x, float y) { float4 v = __ftexfetch(t, make_float4(x, y, 0, 0)); return v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex2D(texture t, float x, float y) { float4 v = __ftexfetch(t, make_float4(x, y, 0, 0)); return make_float1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex2D(texture t, float x, float y) { float4 v = __ftexfetch(t, make_float4(x, y, 0, 0)); return make_float2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex2D(texture t, float x, float y) { float4 v = __ftexfetch(t, make_float4(x, y, 0, 0)); return make_float4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex2D(texture t, float x, float y) { int4 v = __itexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex2D(texture t, float x, float y) { uint4 v = __utexfetch(t, make_float4(x, y, 0, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return (char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) signed char tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return (signed char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return (unsigned char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) char1 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_char1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_uchar1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char2 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_char2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_uchar2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char4 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_char4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_uchar4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return (short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return (unsigned short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) short1 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_short1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_ushort1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short2 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_short2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_ushort2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short4 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_short4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_ushort4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return (int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return (unsigned int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) int1 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_int1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_uint1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int2 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_int2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_uint2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int4 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_int4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_uint4(v.x, v.y, v.z, v.w); } # 1712 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1DLayered(texture t, float x, int layer) { float4 v = __ftexfetchl(t, make_float4(x, 0, 0, 0), layer); return v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1DLayered(texture t, float x, int layer) { float4 v = __ftexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_float1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1DLayered(texture t, float x, int layer) { float4 v = __ftexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_float2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1DLayered(texture t, float x, int layer) { float4 v = __ftexfetchl(t, make_float4(x, 0, 0, 0), layer); return make_float4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1DLayered(texture t, float x, int layer) { int4 v = __itexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex1DLayered(texture t, float x, int layer) { uint4 v = __utexfetchl(t, make_float4(x, 0, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return (char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) signed char tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return (signed char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return (unsigned char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) char1 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return make_char1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return make_uchar1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char2 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return make_char2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return make_uchar2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char4 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return make_char4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return make_uchar4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return (short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return (unsigned short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) short1 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return make_short1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return make_ushort1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short2 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return make_short2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return make_ushort2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short4 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return make_short4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return make_ushort4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return (int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return (unsigned int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) int1 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return make_int1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return make_uint1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int2 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return make_int2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return make_uint2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int4 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); return make_int4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); return make_uint4(v.x, v.y, v.z, v.w); } # 2161 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2DLayered(texture t, float x, float y, int layer) { float4 v = __ftexfetchl(t, make_float4(x, y, 0, 0), layer); return v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex2DLayered(texture t, float x, float y, int layer) { float4 v = __ftexfetchl(t, make_float4(x, y, 0, 0), layer); return make_float1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex2DLayered(texture t, float x, float y, int layer) { float4 v = __ftexfetchl(t, make_float4(x, y, 0, 0), layer); return make_float2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex2DLayered(texture t, float x, float y, int layer) { float4 v = __ftexfetchl(t, make_float4(x, y, 0, 0), layer); return make_float4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex2DLayered(texture t, float x, float y, int layer) { int4 v = __itexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex2DLayered(texture t, float x, float y, int layer) { uint4 v = __utexfetchl(t, make_float4(x, y, 0, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return (char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) signed char tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return (signed char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return (unsigned char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) char1 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return make_char1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return make_uchar1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char2 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return make_char2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return make_uchar2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char4 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return make_char4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return make_uchar4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return (short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return (unsigned short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) short1 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return make_short1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return make_ushort1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short2 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return make_short2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return make_ushort2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short4 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return make_short4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return make_ushort4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return (int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return (unsigned int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) int1 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return make_int1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return make_uint1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int2 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return make_int2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return make_uint2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int4 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); return make_int4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); return make_uint4(v.x, v.y, v.z, v.w); } # 2610 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex3D(texture t, float x, float y, float z) { float4 v = __ftexfetch(t, make_float4(x, y, z, 0)); return v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex3D(texture t, float x, float y, float z) { float4 v = __ftexfetch(t, make_float4(x, y, z, 0)); return make_float1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex3D(texture t, float x, float y, float z) { float4 v = __ftexfetch(t, make_float4(x, y, z, 0)); return make_float2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex3D(texture t, float x, float y, float z) { float4 v = __ftexfetch(t, make_float4(x, y, z, 0)); return make_float4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex3D(texture t, float x, float y, float z) { int4 v = __itexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 tex3D(texture t, float x, float y, float z) { uint4 v = __utexfetch(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return (char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) signed char texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return (signed char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return (unsigned char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) char1 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return make_char1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return make_uchar1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char2 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return make_char2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return make_uchar2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char4 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return make_char4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return make_uchar4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return (short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return (unsigned short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) short1 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return make_short1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return make_ushort1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short2 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return make_short2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return make_ushort2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short4 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return make_short4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return make_ushort4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return (int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return (unsigned int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) int1 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return make_int1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return make_uint1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int2 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return make_int2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return make_uint2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int4 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); return make_int4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); return make_uint4(v.x, v.y, v.z, v.w); } # 3059 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemap(texture t, float x, float y, float z) { float4 v = __ftexfetchc(t, make_float4(x, y, z, 0)); return v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 texCubemap(texture t, float x, float y, float z) { float4 v = __ftexfetchc(t, make_float4(x, y, z, 0)); return make_float1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 texCubemap(texture t, float x, float y, float z) { float4 v = __ftexfetchc(t, make_float4(x, y, z, 0)); return make_float2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 texCubemap(texture t, float x, float y, float z) { float4 v = __ftexfetchc(t, make_float4(x, y, z, 0)); return make_float4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 texCubemap(texture t, float x, float y, float z) { int4 v = __itexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 texCubemap(texture t, float x, float y, float z) { uint4 v = __utexfetchc(t, make_float4(x, y, z, 0)); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return (char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) signed char texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return (signed char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned char texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return (unsigned char)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) char1 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return make_char1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar1 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return make_uchar1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char2 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return make_char2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar2 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return make_uchar2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) char4 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return make_char4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uchar4 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return make_uchar4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return (short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned short texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return (unsigned short)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) short1 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return make_short1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort1 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return make_ushort1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short2 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return make_short2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort2 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return make_ushort2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) short4 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return make_short4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) ushort4 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return make_ushort4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return (int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) unsigned int texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return (unsigned int)v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) int1 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return make_int1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint1 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return make_uint1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int2 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return make_int2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint2 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return make_uint2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) int4 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); return make_int4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) uint4 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); return make_uint4(v.x, v.y, v.z, v.w); } # 3508 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_fetch_functions.h" static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemapLayered(texture t, float x, float y, float z, int layer) { float4 v = __ftexfetchlc(t, make_float4(x, y, z, 0), layer); return v.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 texCubemapLayered(texture t, float x, float y, float z, int layer) { float4 v = __ftexfetchlc(t, make_float4(x, y, z, 0), layer); return make_float1(v.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 texCubemapLayered(texture t, float x, float y, float z, int layer) { float4 v = __ftexfetchlc(t, make_float4(x, y, z, 0), layer); return make_float2(v.x, v.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 texCubemapLayered(texture t, float x, float y, float z, int layer) { float4 v = __ftexfetchlc(t, make_float4(x, y, z, 0), layer); return make_float4(v.x, v.y, v.z, v.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return w.x; } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float1 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float1(w.x); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float2 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float2(w.x, w.y); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 texCubemapLayered(texture t, float x, float y, float z, int layer) { int4 v = __itexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } static __inline__ __attribute__((always_inline)) __attribute__((device)) float4 texCubemapLayered(texture t, float x, float y, float z, int layer) { uint4 v = __utexfetchlc(t, make_float4(x, y, z, 0), layer); float4 w = make_float4(__int_as_float(v.x), __int_as_float(v.y), __int_as_float(v.z), __int_as_float(v.w)); return make_float4(w.x, w.y, w.z, w.w); } # 6395 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/texture_indirect_functions.h" 1 # 6396 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/surface_indirect_functions.h" 1 # 6397 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_functions.h" 2 # 80 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 2 # 1 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_launch_parameters.h" 1 # 63 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/device_launch_parameters.h" extern "C" { uint3 __attribute__((device_builtin)) extern const threadIdx; uint3 __attribute__((device_builtin)) extern const blockIdx; dim3 __attribute__((device_builtin)) extern const blockDim; dim3 __attribute__((device_builtin)) extern const gridDim; int __attribute__((device_builtin)) extern const warpSize; } # 81 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" 2 # 92 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" namespace { # 123 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaSetupArgument( T arg, size_t offset ) { return ::cudaSetupArgument((const void*)&arg, sizeof(T), offset); } # 162 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" static __inline__ __attribute__((host)) cudaError_t cudaEventCreate( cudaEvent_t *event, unsigned int flags ) { return ::cudaEventCreateWithFlags(event, flags); } # 225 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" __inline__ __attribute__((host)) cudaError_t cudaMallocHost( void **ptr, size_t size, unsigned int flags ) { return ::cudaHostAlloc(ptr, size, flags); } template __inline__ __attribute__((host)) cudaError_t cudaHostAlloc( T **ptr, size_t size, unsigned int flags ) { return ::cudaHostAlloc((void**)(void*)ptr, size, flags); } template __inline__ __attribute__((host)) cudaError_t cudaHostGetDevicePointer( T **pDevice, void *pHost, unsigned int flags ) { return ::cudaHostGetDevicePointer((void**)(void*)pDevice, pHost, flags); } template __inline__ __attribute__((host)) cudaError_t cudaMalloc( T **devPtr, size_t size ) { return ::cudaMalloc((void**)(void*)devPtr, size); } template __inline__ __attribute__((host)) cudaError_t cudaMallocHost( T **ptr, size_t size, unsigned int flags = 0 ) { return cudaMallocHost((void**)(void*)ptr, size, flags); } template __inline__ __attribute__((host)) cudaError_t cudaMallocPitch( T **devPtr, size_t *pitch, size_t width, size_t height ) { return ::cudaMallocPitch((void**)(void*)devPtr, pitch, width, height); } # 319 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaMemcpyToSymbol( const T &symbol, const void *src, size_t count, size_t offset = 0, enum cudaMemcpyKind kind = cudaMemcpyHostToDevice ) { return ::cudaMemcpyToSymbol((const void*)&symbol, src, count, offset, kind); } # 371 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaMemcpyToSymbolAsync( const T &symbol, const void *src, size_t count, size_t offset = 0, enum cudaMemcpyKind kind = cudaMemcpyHostToDevice, cudaStream_t stream = 0 ) { return ::cudaMemcpyToSymbolAsync((const void*)&symbol, src, count, offset, kind, stream); } # 417 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaMemcpyFromSymbol( void *dst, const T &symbol, size_t count, size_t offset = 0, enum cudaMemcpyKind kind = cudaMemcpyDeviceToHost ) { return ::cudaMemcpyFromSymbol(dst, (const void*)&symbol, count, offset, kind); } # 469 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaMemcpyFromSymbolAsync( void *dst, const T &symbol, size_t count, size_t offset = 0, enum cudaMemcpyKind kind = cudaMemcpyDeviceToHost, cudaStream_t stream = 0 ) { return ::cudaMemcpyFromSymbolAsync(dst, (const void*)&symbol, count, offset, kind, stream); } # 502 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaGetSymbolAddress( void **devPtr, const T &symbol ) { return ::cudaGetSymbolAddress(devPtr, (const void*)&symbol); } # 531 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaGetSymbolSize( size_t *size, const T &symbol ) { return ::cudaGetSymbolSize(size, (const void*)&symbol); } # 574 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaBindTexture( size_t *offset, const struct texture &tex, const void *devPtr, const struct cudaChannelFormatDesc &desc, size_t size = (2147483647 * 2U + 1U) ) { return ::cudaBindTexture(offset, &tex, devPtr, &desc, size); } # 619 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaBindTexture( size_t *offset, const struct texture &tex, const void *devPtr, size_t size = (2147483647 * 2U + 1U) ) { return cudaBindTexture(offset, tex, devPtr, tex.channelDesc, size); } # 675 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaBindTexture2D( size_t *offset, const struct texture &tex, const void *devPtr, const struct cudaChannelFormatDesc &desc, size_t width, size_t height, size_t pitch ) { return ::cudaBindTexture2D(offset, &tex, devPtr, &desc, width, height, pitch); } # 733 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaBindTexture2D( size_t *offset, const struct texture &tex, const void *devPtr, size_t width, size_t height, size_t pitch ) { return ::cudaBindTexture2D(offset, &tex, devPtr, &tex.channelDesc, width, height, pitch); } # 775 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaBindTextureToArray( const struct texture &tex, cudaArray_const_t array, const struct cudaChannelFormatDesc &desc ) { return ::cudaBindTextureToArray(&tex, array, &desc); } # 813 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaBindTextureToArray( const struct texture &tex, cudaArray_const_t array ) { struct cudaChannelFormatDesc desc; cudaError_t err = ::cudaGetChannelDesc(&desc, array); return err == cudaSuccess ? cudaBindTextureToArray(tex, array, desc) : err; } # 854 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaBindTextureToMipmappedArray( const struct texture &tex, cudaMipmappedArray_const_t mipmappedArray, const struct cudaChannelFormatDesc &desc ) { return ::cudaBindTextureToMipmappedArray(&tex, mipmappedArray, &desc); } # 892 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaBindTextureToMipmappedArray( const struct texture &tex, cudaMipmappedArray_const_t mipmappedArray ) { struct cudaChannelFormatDesc desc; cudaArray_t levelArray; cudaError_t err = ::cudaGetMipmappedArrayLevel(&levelArray, mipmappedArray, 0); if (err != cudaSuccess) { return err; } err = ::cudaGetChannelDesc(&desc, levelArray); return err == cudaSuccess ? cudaBindTextureToMipmappedArray(tex, mipmappedArray, desc) : err; } # 931 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaUnbindTexture( const struct texture &tex ) { return ::cudaUnbindTexture(&tex); } # 965 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaGetTextureAlignmentOffset( size_t *offset, const struct texture &tex ) { return ::cudaGetTextureAlignmentOffset(offset, &tex); } # 1018 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaFuncSetCacheConfig( T *func, enum cudaFuncCache cacheConfig ) { return ::cudaFuncSetCacheConfig((const void*)func, cacheConfig); } template __inline__ __attribute__((host)) cudaError_t cudaFuncSetSharedMemConfig( T *func, enum cudaSharedMemConfig config ) { return ::cudaFuncSetSharedMemConfig((const void*)func, config); } # 1070 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaLaunch( T *func ) { return ::cudaLaunch((const void*)func); } # 1108 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaFuncGetAttributes( struct cudaFuncAttributes *attr, T *entry ) { return ::cudaFuncGetAttributes(attr, (const void*)entry); } # 1137 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaBindSurfaceToArray( const struct surface &surf, cudaArray_const_t array, const struct cudaChannelFormatDesc &desc ) { return ::cudaBindSurfaceToArray(&surf, array, &desc); } # 1166 "/opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/..//include/cuda_runtime.h" template __inline__ __attribute__((host)) cudaError_t cudaBindSurfaceToArray( const struct surface &surf, cudaArray_const_t array ) { struct cudaChannelFormatDesc desc; cudaError_t err = ::cudaGetChannelDesc(&desc, array); return err == cudaSuccess ? cudaBindSurfaceToArray(surf, array, desc) : err; } } # 1 "" 2 # 1 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu" # 1 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/confdefs.h" 1 # 2 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu" 2 # 1 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu" 2 __attribute__((global)) void testFunction() {return;}; Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language CUDA ================================================================================ TEST checkCxxCompiler from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:753) TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:753) Locate a functional Cxx compiler Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/CC...not found Checking for program /ccs/home/adams/git-fat/CC...not found Checking for program /opt/cray/llm/default/bin/CC...not found Checking for program /opt/cray/llm/default/etc/CC...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/CC...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/CC...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/CC...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/CC...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/CC...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/CC...not found Checking for program /ccs/home/adams/git-fat/CC...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/CC...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/CC...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/CC...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/CC...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/CC...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/CC...not found Checking for program /opt/cray/netcdf/4.3.2/bin/CC...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/CC...not found Checking for program /sw/xk6/altd/bin/CC...not found Checking for program /sw/xk6/site-aprun/bin/CC...not found Checking for program /sw/xk6/bin/CC...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/CC...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/CC...not found Checking for program /opt/cray/atp/1.7.5/bin/CC...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/CC...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/CC...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/CC...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/CC...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/CC...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/CC...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/CC...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/CC...not found Checking for program /opt/cray/craype/2.2.1/bin/CC...found Defined make macro "CXX" to "CC" Pushing language Cxx Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language CXX Popping language CXX Executing: CC -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 512 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o Executing: /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest Executing: /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:791) TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:791) Locate a functional Cxx preprocessor Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/CC...not found Checking for program /ccs/home/adams/git-fat/CC...not found Checking for program /opt/cray/llm/default/bin/CC...not found Checking for program /opt/cray/llm/default/etc/CC...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/CC...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/CC...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/CC...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/CC...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/CC...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/CC...not found Checking for program /ccs/home/adams/git-fat/CC...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/CC...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/CC...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/CC...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/CC...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/CC...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/CC...not found Checking for program /opt/cray/netcdf/4.3.2/bin/CC...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/CC...not found Checking for program /sw/xk6/altd/bin/CC...not found Checking for program /sw/xk6/site-aprun/bin/CC...not found Checking for program /sw/xk6/bin/CC...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/CC...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/CC...not found Checking for program /opt/cray/atp/1.7.5/bin/CC...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/CC...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/CC...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/CC...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/CC...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/CC...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/CC...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/CC...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/CC...not found Checking for program /opt/cray/craype/2.2.1/bin/CC...found Defined make macro "CXXCPP" to "CC -E" Pushing language Cxx Executing: CC -E -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc stdout: # 1 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc" # 1 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/confdefs.h" # 2 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc" # 1 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conffix.h" extern "C" { } # 3 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/cstdlib" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_prolog.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl_user_config.h" # 72 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config_compat.h" # 49 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config_compat.h" # 63 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config_compat.h" # 70 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config_compat.h" # 77 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_site_config.h" # 40 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_site_config.h" # 81 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stlcomp.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 53 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 60 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 101 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 125 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/float.h" # 30 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/float.h" # 40 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/float.h" # 52 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/float.h" # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 45 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 59 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 67 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 79 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 87 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 99 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 110 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 119 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 127 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 162 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 240 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h" # 59 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/float.h" # 138 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 156 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 228 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 258 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 271 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 285 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 507 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_mycomp.h" # 49 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stlcomp.h" # 124 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stlcomp.h" # 84 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_confix.h" # 47 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/config/stl_confix.h" # 93 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 137 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 148 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 190 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 201 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 209 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 217 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 225 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 233 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 293 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 305 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 331 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 382 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 408 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 419 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 429 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 454 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 467 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 490 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" namespace std { } namespace __std_alias = std; # 515 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 527 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 548 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 559 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" namespace std { } namespace stlport = std; # 597 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 664 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 700 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 714 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 732 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 763 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 778 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 799 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 816 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 833 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 847 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 864 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 889 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 920 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 931 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 969 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 1018 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 1045 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 1055 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 1074 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config.h" # 22 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_prolog.h" # 32 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/cstdlib" # 1 "/usr/include/stdlib.h" # 1 "/usr/include/features.h" # 118 "/usr/include/features.h" # 141 "/usr/include/features.h" # 150 "/usr/include/features.h" # 172 "/usr/include/features.h" # 182 "/usr/include/features.h" # 214 "/usr/include/features.h" # 264 "/usr/include/features.h" # 311 "/usr/include/features.h" # 343 "/usr/include/features.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 1 "/usr/include/sys/cdefs.h" # 60 "/usr/include/sys/cdefs.h" # 96 "/usr/include/sys/cdefs.h" # 111 "/usr/include/sys/cdefs.h" # 121 "/usr/include/sys/cdefs.h" # 146 "/usr/include/sys/cdefs.h" # 158 "/usr/include/sys/cdefs.h" # 195 "/usr/include/sys/cdefs.h" # 231 "/usr/include/sys/cdefs.h" # 261 "/usr/include/sys/cdefs.h" # 284 "/usr/include/sys/cdefs.h" # 314 "/usr/include/sys/cdefs.h" # 347 "/usr/include/sys/cdefs.h" # 1 "/usr/include/bits/wordsize.h" # 354 "/usr/include/sys/cdefs.h" # 386 "/usr/include/sys/cdefs.h" # 15 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 26 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 348 "/usr/include/features.h" # 1 "/usr/include/gnu/stubs.h" # 1 "/usr/include/bits/wordsize.h" # 5 "/usr/include/gnu/stubs.h" # 1 "/usr/include/gnu/stubs-64.h" # 10 "/usr/include/gnu/stubs.h" # 372 "/usr/include/features.h" # 26 "/usr/include/stdlib.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 32 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 50 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 96 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 121 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 166 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 214 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" typedef unsigned long int size_t; # 238 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 347 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 359 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 392 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 410 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 417 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 17 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 36 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 45 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 56 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 34 "/usr/include/stdlib.h" extern "C" { # 95 "/usr/include/stdlib.h" typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; typedef struct { long long int quot; long long int rem; } lldiv_t; extern size_t __ctype_get_mb_cur_max (void) throw() ; extern double atof (const char *__nptr) throw() ; extern int atoi (const char *__nptr) throw() ; extern long int atol (const char *__nptr) throw() ; extern long long int atoll (const char *__nptr) throw() ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) throw() ; extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) throw() ; extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) throw() ; extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw() ; extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw() ; # 205 "/usr/include/stdlib.h" extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw() ; extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw() ; # 274 "/usr/include/stdlib.h" # 305 "/usr/include/stdlib.h" extern char *l64a (long int __n) throw() ; extern long int a64l (const char *__s) throw() ; # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" extern "C" { # 1 "/usr/include/bits/types.h" # 1 "/usr/include/bits/wordsize.h" # 29 "/usr/include/bits/types.h" typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 68 "/usr/include/bits/types.h" # 126 "/usr/include/bits/types.h" # 1 "/usr/include/bits/typesizes.h" # 61 "/usr/include/bits/typesizes.h" # 132 "/usr/include/bits/types.h" typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/time.h" # 35 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/time.h" extern "C" { char *strptime (const char * , const char *, struct tm *); } # 1 "/usr/include/time.h" # 33 "/usr/include/time.h" # 52 "/usr/include/time.h" # 68 "/usr/include/time.h" typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" # 420 "/usr/include/time.h" # 62 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/time.h" # 72 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/time.h" # 134 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 145 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 32 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 50 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 96 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 121 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 166 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 238 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 347 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 359 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 392 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 410 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 417 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 17 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 36 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 45 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 56 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 148 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; typedef char int8_t; typedef short int int16_t; typedef int int32_t; typedef long int int64_t; typedef unsigned char u_int8_t; typedef unsigned short int u_int16_t; typedef unsigned int u_int32_t; typedef unsigned long int u_int64_t; typedef int register_t; # 215 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/usr/include/endian.h" # 1 "/usr/include/bits/endian.h" # 38 "/usr/include/endian.h" # 51 "/usr/include/endian.h" # 1 "/usr/include/bits/byteswap.h" # 1 "/usr/include/bits/wordsize.h" # 29 "/usr/include/bits/byteswap.h" # 47 "/usr/include/bits/byteswap.h" # 97 "/usr/include/bits/byteswap.h" # 136 "/usr/include/bits/byteswap.h" # 62 "/usr/include/endian.h" # 95 "/usr/include/endian.h" # 220 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/usr/include/sys/select.h" # 1 "/usr/include/bits/select.h" # 1 "/usr/include/bits/wordsize.h" # 24 "/usr/include/bits/select.h" # 46 "/usr/include/bits/select.h" # 56 "/usr/include/bits/select.h" # 32 "/usr/include/sys/select.h" # 1 "/usr/include/bits/sigset.h" typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" typedef __sigset_t sigset_t; # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/time.h" # 35 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/time.h" extern "C" { # 50 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/time.h" } # 1 "/usr/include/time.h" # 33 "/usr/include/time.h" # 52 "/usr/include/time.h" # 68 "/usr/include/time.h" # 84 "/usr/include/time.h" # 96 "/usr/include/time.h" # 108 "/usr/include/time.h" struct timespec { __time_t tv_sec; long int tv_nsec; }; # 420 "/usr/include/time.h" # 62 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/time.h" # 72 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/time.h" # 45 "/usr/include/sys/select.h" # 1 "/usr/include/bits/time.h" # 60 "/usr/include/bits/time.h" struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern "C" { extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); } # 223 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/usr/include/sys/sysmacros.h" # 69 "/usr/include/sys/sysmacros.h" # 226 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 262 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" # 1 "/usr/include/bits/pthreadtypes.h" # 1 "/usr/include/bits/wordsize.h" # 24 "/usr/include/bits/pthreadtypes.h" # 46 "/usr/include/bits/pthreadtypes.h" typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 72 "/usr/include/bits/pthreadtypes.h" typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; unsigned long long int __total_seq; unsigned long long int __wakeup_seq; unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 273 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/types.h" } # 321 "/usr/include/stdlib.h" extern long int random (void) throw(); extern void srandom (unsigned int __seed) throw(); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw() ; extern char *setstate (char *__statebuf) throw() ; struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw() ; extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw() ; extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw() ; extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw() ; extern int rand (void) throw(); extern void srand (unsigned int __seed) throw(); extern int rand_r (unsigned int *__seed) throw(); extern double drand48 (void) throw(); extern double erand48 (unsigned short int __xsubi[3]) throw() ; extern long int lrand48 (void) throw(); extern long int nrand48 (unsigned short int __xsubi[3]) throw() ; extern long int mrand48 (void) throw(); extern long int jrand48 (unsigned short int __xsubi[3]) throw() ; extern void srand48 (long int __seedval) throw(); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw() ; extern void lcong48 (unsigned short int __param[7]) throw() ; struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw() ; extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw() ; extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw() ; extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw() ; extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw() ; extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw() ; extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw() ; extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw() ; extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw() ; extern void *malloc (size_t __size) throw() ; extern void *calloc (size_t __nmemb, size_t __size) throw() ; extern void *realloc (void *__ptr, size_t __size) throw() ; extern void free (void *__ptr) throw(); extern void cfree (void *__ptr) throw(); # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/alloca.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 32 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 50 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 96 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 121 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 166 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 238 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 347 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 359 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 392 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 410 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 417 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 17 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 36 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 45 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 56 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stddef.h" # 26 "/opt/pgi/14.2.0/linux86-64/14.2/include/alloca.h" extern "C" { extern "C" { extern void * __alloca (size_t __size); extern void * alloca (size_t __size); extern void * __builtin_alloca (size_t __size); } } # 498 "/usr/include/stdlib.h" extern void *valloc (size_t __size) throw() ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw() ; extern void abort (void) throw() __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw() ; # 530 "/usr/include/stdlib.h" extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw() ; extern void exit (int __status) throw() __attribute__ ((__noreturn__)); # 553 "/usr/include/stdlib.h" extern void _Exit (int __status) throw() __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) throw() ; extern char *__secure_getenv (const char *__name) throw() ; extern int putenv (char *__string) throw() ; extern int setenv (const char *__name, const char *__value, int __replace) throw() ; extern int unsetenv (const char *__name) throw(); extern int clearenv (void) throw(); extern char *mktemp (char *__template) throw() ; extern int mkstemp (char *__template) ; # 628 "/usr/include/stdlib.h" extern int mkstemps (char *__template, int __suffixlen) ; # 651 "/usr/include/stdlib.h" extern char *mkdtemp (char *__template) throw() ; # 705 "/usr/include/stdlib.h" extern int system (const char *__command) ; # 722 "/usr/include/stdlib.h" extern char *realpath (const char *__restrict __name, char *__restrict __resolved) throw() ; typedef int (*__compar_fn_t) (const void *, const void *); # 746 "/usr/include/stdlib.h" extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) ; extern int abs (int __x) throw() __attribute__ ((__const__)) ; extern long int labs (long int __x) throw() __attribute__ ((__const__)) ; extern long long int llabs (long long int __x) throw() __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) throw() __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) throw() __attribute__ ((__const__)) ; extern lldiv_t lldiv (long long int __numer, long long int __denom) throw() __attribute__ ((__const__)) ; extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw() ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw() ; extern char *gcvt (double __value, int __ndigit, char *__buf) throw() ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw() ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw() ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw() ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw() ; extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw() ; extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw() ; extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw() ; extern int mblen (const char *__s, size_t __n) throw() ; extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) throw() ; extern int wctomb (char *__s, wchar_t __wchar) throw() ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) throw(); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) throw(); extern int rpmatch (const char *__response) throw() ; # 895 "/usr/include/stdlib.h" extern int posix_openpt (int __oflag) ; # 926 "/usr/include/stdlib.h" # 937 "/usr/include/stdlib.h" extern int getloadavg (double __loadavg[], int __nelem) throw() ; # 954 "/usr/include/stdlib.h" } # 39 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/cstdlib" # 50 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/cstdlib" namespace std { using ::div_t; using ::ldiv_t; using ::size_t; using ::abort; using ::atexit; using ::exit; using ::getenv; using ::calloc; using ::free; using ::malloc; using ::realloc; using ::atof; using ::atoi; using ::atol; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; using ::bsearch; using ::qsort; using ::abs; using ::div; using ::labs; using ::ldiv; using ::rand; using ::srand; } namespace std { inline long abs(long __x) { return ::labs(__x); } inline ldiv_t div(long __x, long __y) { return ::ldiv(__x, __y); } inline long long abs(long long __x) { return __x >= 0 ? __x : -__x; } } # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_epilog.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config_compat_post.h" # 38 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_config_compat_post.h" # 26 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_epilog.h" # 45 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/stl/_epilog.h" # 120 "/opt/pgi/14.2.0/linux86-64/14.2/include/CC/cstdlib" # 4 "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc" Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language Cxx ================================================================================ TEST checkFortranCompiler from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:908) TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:908) Locate a functional Fortran compiler Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/ftn...not found Checking for program /ccs/home/adams/git-fat/ftn...not found Checking for program /opt/cray/llm/default/bin/ftn...not found Checking for program /opt/cray/llm/default/etc/ftn...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/ftn...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/ftn...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/ftn...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/ftn...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/ftn...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/ftn...not found Checking for program /ccs/home/adams/git-fat/ftn...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/ftn...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/ftn...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/ftn...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/ftn...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/ftn...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/ftn...not found Checking for program /opt/cray/netcdf/4.3.2/bin/ftn...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/ftn...not found Checking for program /sw/xk6/altd/bin/ftn...not found Checking for program /sw/xk6/site-aprun/bin/ftn...not found Checking for program /sw/xk6/bin/ftn...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/ftn...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/ftn...not found Checking for program /opt/cray/atp/1.7.5/bin/ftn...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/ftn...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/ftn...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/ftn...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/ftn...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/ftn...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/ftn...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/ftn...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/ftn...not found Checking for program /opt/cray/craype/2.2.1/bin/ftn...found Defined make macro "FC" to "ftn" Pushing language FC Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language FC Popping language FC Executing: ftn -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ftn -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 512 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ftn -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o Executing: /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest Executing: /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkFortranComments from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:929) TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:929) Make sure fortran comment "!" works Pushing language FC Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Successful compile: Source: ! comment program main end Fortran comments can use ! in column 1 Popping language FC ================================================================================ TEST checkPIC from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:992) TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:992) Determine the PIC option for each compiler - There needs to be a test that checks that the functionality is actually working Skip checking PIC options on user request ================================================================================ TEST checkLargeFileIO from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1025) TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:1025) ================================================================================ TEST checkArchiver from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1124) TESTING: checkArchiver from config.setCompilers(config/BuildSystem/config/setCompilers.py:1124) Check that the archiver exists and can make a library usable by the compiler Pushing language C Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/ar...not found Checking for program /ccs/home/adams/git-fat/ar...not found Checking for program /opt/cray/llm/default/bin/ar...not found Checking for program /opt/cray/llm/default/etc/ar...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/ar...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/ar...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/ar...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/ar...not found Checking for program /ccs/home/adams/git-fat/ar...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/ar...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/ar...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/ar...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/ar...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/ar...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/ar...not found Checking for program /opt/cray/netcdf/4.3.2/bin/ar...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/ar...not found Checking for program /sw/xk6/altd/bin/ar...not found Checking for program /sw/xk6/site-aprun/bin/ar...not found Checking for program /sw/xk6/bin/ar...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/ar...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/ar...not found Checking for program /opt/cray/atp/1.7.5/bin/ar...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/ar...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/ar...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/ar...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/ar...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/ar...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/ar...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/ar...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/ar...not found Checking for program /opt/cray/craype/2.2.1/bin/ar...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/ar...not found Checking for program /opt/modules/3.2.6.7/bin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/ranlib...not found Checking for program /ccs/home/adams/git-fat/ranlib...not found Checking for program /opt/cray/llm/default/bin/ranlib...not found Checking for program /opt/cray/llm/default/etc/ranlib...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/ranlib...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/ranlib...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/ranlib...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/ranlib...not found Checking for program /ccs/home/adams/git-fat/ranlib...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/ranlib...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/ranlib...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/ranlib...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/ranlib...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/ranlib...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/ranlib...not found Checking for program /opt/cray/netcdf/4.3.2/bin/ranlib...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/ranlib...not found Checking for program /sw/xk6/altd/bin/ranlib...not found Checking for program /sw/xk6/site-aprun/bin/ranlib...not found Checking for program /sw/xk6/bin/ranlib...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/ranlib...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/ranlib...not found Checking for program /opt/cray/atp/1.7.5/bin/ranlib...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/ranlib...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/ranlib...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/ranlib...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/ranlib...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/ranlib...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/ranlib...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/ranlib...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/ranlib...not found Checking for program /opt/cray/craype/2.2.1/bin/ranlib...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/ranlib...not found Checking for program /opt/modules/3.2.6.7/bin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib -c" Executing: /usr/bin/ar cr /tmp/scratch/petsc-5_JlCR/config.setCompilers/libconf1.a /tmp/scratch/petsc-5_JlCR/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/scratch/petsc-5_JlCR/config.setCompilers/libconf1.a Possible ERROR while running ranlib: stderr: /usr/bin/ranlib: invalid option -- 'c' Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/ar...not found Checking for program /ccs/home/adams/git-fat/ar...not found Checking for program /opt/cray/llm/default/bin/ar...not found Checking for program /opt/cray/llm/default/etc/ar...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/ar...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/ar...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/ar...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/ar...not found Checking for program /ccs/home/adams/git-fat/ar...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/ar...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/ar...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/ar...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/ar...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/ar...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/ar...not found Checking for program /opt/cray/netcdf/4.3.2/bin/ar...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/ar...not found Checking for program /sw/xk6/altd/bin/ar...not found Checking for program /sw/xk6/site-aprun/bin/ar...not found Checking for program /sw/xk6/bin/ar...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/ar...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/ar...not found Checking for program /opt/cray/atp/1.7.5/bin/ar...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/ar...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/ar...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/ar...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/ar...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/ar...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/ar...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/ar...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/ar...not found Checking for program /opt/cray/craype/2.2.1/bin/ar...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/ar...not found Checking for program /opt/modules/3.2.6.7/bin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /opt/cray/parallel-netcdf/1.5.0/bin/ranlib...not found Checking for program /ccs/home/adams/git-fat/ranlib...not found Checking for program /opt/cray/llm/default/bin/ranlib...not found Checking for program /opt/cray/llm/default/etc/ranlib...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/sbin/ranlib...not found Checking for program /opt/cray/lustre-cray_gem_s/2.6.93_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17198.8.50/bin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/sbin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9072.13.1.gem/bin/ranlib...not found Checking for program /opt/cray/sdb/1.0-1.0502.55976.5.27.gem/bin/ranlib...not found Checking for program /opt/cray/nodestat/2.2-1.0502.53712.3.109.gem/bin/ranlib...not found Checking for program /ccs/home/adams/git-fat/ranlib...not found Checking for program /sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/ranlib...not found Checking for program /opt/sw/xk6/python/2.7.3/sles11.1_gnu4.3.4/bin/ranlib...not found Checking for program /sw/xk6/git/2.3.2/sles11.3_gnu4.3.4/bin/ranlib...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/bin/ranlib...not found Checking for program /opt/nvidia/cudatoolkit/5.5.51-1.0502.9594.3.1/libnvvp/ranlib...not found Checking for program /sw/xk6/ddt/4.2-35818/sles11.1_binary/bin/ranlib...not found Checking for program /opt/cray/netcdf/4.3.2/bin/ranlib...not found Checking for program /sw/xk6/cmake/2.8.10.2/cle4.0_gnu4.7.2/bin/ranlib...not found Checking for program /sw/xk6/altd/bin/ranlib...not found Checking for program /sw/xk6/site-aprun/bin/ranlib...not found Checking for program /sw/xk6/bin/ranlib...not found Checking for program /sw/xk6/lustredu/1.4/sles11.1_gnu4.8.2/bin/ranlib...not found Checking for program /opt/cray/mpt/7.0.4/gni/bin/ranlib...not found Checking for program /opt/cray/atp/1.7.5/bin/ranlib...not found Checking for program /opt/cray/rca/1.0.0-2.0502.53711.3.125.gem/bin/ranlib...not found Checking for program /opt/cray/dvs/2.5_0.9.0-1.0502.1873.1.142.gem/bin/ranlib...not found Checking for program /opt/cray/xpmem/0.1-2.0502.55507.3.2.gem/bin/ranlib...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9501.5.211.gem/bin/ranlib...not found Checking for program /opt/cray/pmi/5.0.5-1.0000.10300.134.8.gem/bin/ranlib...not found Checking for program /opt/cray/ugni/5.0-1.0502.9685.4.24.gem/bin/ranlib...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.9275.1.25.gem/bin/ranlib...not found Checking for program /opt/pgi/14.2.0/linux86-64/14.2/bin/ranlib...not found Checking for program /opt/cray/craype/2.2.1/bin/ranlib...not found Checking for program /opt/cray/eslogin/eswrap/1.1.0-1.020200.1231.0/bin/ranlib...not found Checking for program /opt/modules/3.2.6.7/bin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib" Executing: /usr/bin/ar cr /tmp/scratch/petsc-5_JlCR/config.setCompilers/libconf1.a /tmp/scratch/petsc-5_JlCR/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/scratch/petsc-5_JlCR/config.setCompilers/libconf1.a Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -L/tmp/scratch/petsc-5_JlCR/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" Popping language C ================================================================================ TEST checkSharedLinker from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1235) TESTING: checkSharedLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1235) Check that the linker can produce shared libraries Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Checking shared linker /usr/bin/ar using flags [] Checking for program /usr/bin/ar...found Defined make macro "LD_SHARED" to "/usr/bin/ar" Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C Executing: /usr/bin/ar cr /tmp/scratch/petsc-5_JlCR/config.setCompilers/libconftest.a /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o ; /usr/bin/ranlib /tmp/scratch/petsc-5_JlCR/config.setCompilers/libconftest.a Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main() { int ret = foo(); if(ret);; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -L/tmp/scratch/petsc-5_JlCR/config.setCompilers -lconftest Using shared linker /usr/bin/ar with flags [] and library extension a Executing: uname -s stdout: Linux ================================================================================ TEST checkSharedLinkerPaths from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1313) TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:1313) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Pushing language C Executing: uname -s stdout: Linux Executing: cc -V stdout: pgcc 14.2-0 64-bit target on x86-64 Linux -tp bulldozer The Portland Group - PGI Compilers and Tools Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. Trying C linker flag -Wl,-rpath, Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest -Wl,-rpath,/lustre/atlas2/env003/scratch/adams/petsc_maint /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/lustre/atlas2/env003/scratch/adams/petsc_maint Popping language C Pushing language Cxx Executing: uname -s stdout: Linux Executing: cc -V stdout: pgcc 14.2-0 64-bit target on x86-64 Linux -tp bulldozer The Portland Group - PGI Compilers and Tools Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. Trying Cxx linker flag -Wl,-rpath, Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest -Wl,-rpath,/lustre/atlas2/env003/scratch/adams/petsc_maint /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/lustre/atlas2/env003/scratch/adams/petsc_maint Popping language Cxx Pushing language FC Executing: uname -s stdout: Linux Executing: cc -V stdout: pgcc 14.2-0 64-bit target on x86-64 Linux -tp bulldozer The Portland Group - PGI Compilers and Tools Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. Trying FC linker flag -Wl,-rpath, Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ftn -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest -Wl,-rpath,/lustre/atlas2/env003/scratch/adams/petsc_maint /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/lustre/atlas2/env003/scratch/adams/petsc_maint Popping language FC Pushing language CUDA Executing: uname -s stdout: Linux Executing: cc -V stdout: pgcc 14.2-0 64-bit target on x86-64 Linux -tp bulldozer The Portland Group - PGI Compilers and Tools Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. Trying CUDA linker flag -Wl,-rpath, Executing: nvcc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language CUDA Popping language CUDA Executing: nvcc -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o Valid CUDA linker flag -Wl,-rpath,/lustre/atlas2/env003/scratch/adams/petsc_maint Popping language CUDA ================================================================================ TEST checkLibC from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1348) TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1348) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking ================================================================================ TEST checkDynamicLinker from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1397) TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1397) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h All intermediate test results are stored in /tmp/scratch/petsc-5_JlCR/config.headers Executing: cc -E -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.headers /tmp/scratch/petsc-5_JlCR/config.headers/conftest.c stdout: # 1 "/tmp/scratch/petsc-5_JlCR/config.headers/conftest.c" # 1 "/tmp/scratch/petsc-5_JlCR/config.headers/confdefs.h" # 2 "/tmp/scratch/petsc-5_JlCR/config.headers/conftest.c" # 1 "/tmp/scratch/petsc-5_JlCR/config.headers/conffix.h" # 3 "/tmp/scratch/petsc-5_JlCR/config.headers/conftest.c" # 1 "/usr/include/dlfcn.h" # 18 "/usr/include/dlfcn.h" # 1 "/usr/include/features.h" # 17 "/usr/include/features.h" # 91 "/usr/include/features.h" # 94 "/usr/include/features.h" # 120 "/usr/include/features.h" # 125 "/usr/include/features.h" # 134 "/usr/include/features.h" # 143 "/usr/include/features.h" # 151 "/usr/include/features.h" # 174 "/usr/include/features.h" # 186 "/usr/include/features.h" # 192 "/usr/include/features.h" # 199 "/usr/include/features.h" # 312 "/usr/include/features.h" # 316 "/usr/include/features.h" # 324 "/usr/include/features.h" # 329 "/usr/include/features.h" # 336 "/usr/include/features.h" # 344 "/usr/include/features.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 10 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 1 "/usr/include/sys/cdefs.h" # 18 "/usr/include/sys/cdefs.h" # 23 "/usr/include/sys/cdefs.h" # 30 "/usr/include/sys/cdefs.h" # 35 "/usr/include/sys/cdefs.h" # 73 "/usr/include/sys/cdefs.h" # 78 "/usr/include/sys/cdefs.h" # 83 "/usr/include/sys/cdefs.h" # 88 "/usr/include/sys/cdefs.h" # 102 "/usr/include/sys/cdefs.h" # 113 "/usr/include/sys/cdefs.h" # 123 "/usr/include/sys/cdefs.h" # 131 "/usr/include/sys/cdefs.h" # 147 "/usr/include/sys/cdefs.h" # 173 "/usr/include/sys/cdefs.h" # 198 "/usr/include/sys/cdefs.h" # 205 "/usr/include/sys/cdefs.h" # 214 "/usr/include/sys/cdefs.h" # 223 "/usr/include/sys/cdefs.h" # 232 "/usr/include/sys/cdefs.h" # 244 "/usr/include/sys/cdefs.h" # 254 "/usr/include/sys/cdefs.h" # 263 "/usr/include/sys/cdefs.h" # 271 "/usr/include/sys/cdefs.h" # 285 "/usr/include/sys/cdefs.h" # 293 "/usr/include/sys/cdefs.h" # 316 "/usr/include/sys/cdefs.h" # 325 "/usr/include/sys/cdefs.h" # 330 "/usr/include/sys/cdefs.h" # 337 "/usr/include/sys/cdefs.h" # 1 "/usr/include/bits/wordsize.h" # 354 "/usr/include/sys/cdefs.h" # 15 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 18 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 31 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/sys/cdefs.h" # 348 "/usr/include/features.h" # 351 "/usr/include/features.h" # 359 "/usr/include/features.h" # 370 "/usr/include/features.h" # 1 "/usr/include/gnu/stubs.h" # 2 "/usr/include/gnu/stubs.h" # 1 "/usr/include/bits/wordsize.h" # 5 "/usr/include/gnu/stubs.h" # 1 "/usr/include/gnu/stubs-64.h" # 4 "/usr/include/gnu/stubs-64.h" # 10 "/usr/include/gnu/stubs.h" # 372 "/usr/include/features.h" # 24 "/usr/include/dlfcn.h" # 1 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 10 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 14 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 19 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 26 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 30 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 39 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 53 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 56 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 60 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 67 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 98 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 108 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 126 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 128 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 131 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 167 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 170 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 214 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" typedef unsigned long int size_t ; # 243 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 246 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 361 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 395 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" # 17 "/opt/pgi/14.2.0/linux86-64/14.2/include-gcc44/stddef.h" # 26 "/usr/include/dlfcn.h" # 27 "/usr/include/dlfcn.h" # 1 "/usr/include/bits/dlfcn.h" # 18 "/usr/include/bits/dlfcn.h" # 24 "/usr/include/bits/dlfcn.h" # 33 "/usr/include/bits/dlfcn.h" # 38 "/usr/include/bits/dlfcn.h" # 41 "/usr/include/bits/dlfcn.h" # 29 "/usr/include/dlfcn.h" # 56 "/usr/include/dlfcn.h" extern void * dlopen ( const char * __file , int __mode ) ; # 60 "/usr/include/dlfcn.h" extern int dlclose ( void * __handle ) ; # 64 "/usr/include/dlfcn.h" extern void * dlsym ( void * __restrict __handle , const char * __restrict __name ) ; # 82 "/usr/include/dlfcn.h" extern char * dlerror ( void ) ; # 4 "/tmp/scratch/petsc-5_JlCR/config.headers/conftest.c" Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] Pushing language C All intermediate test results are stored in /tmp/scratch/petsc-5_JlCR/config.libraries Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.libraries/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } int main() { _check_dlopen(); _check_dlsym(); _check_dlclose();; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.libraries/conftest /tmp/scratch/petsc-5_JlCR/config.libraries/conftest.o -ldl Defined "HAVE_LIBDL" to "1" Popping language C Adding ['dl'] to LIBS Executing: uname -s stdout: Linux Checking dynamic linker /usr/bin/ar using flags [] Checking for program /usr/bin/ar...found Defined make macro "DYNAMICLINKER" to "/usr/bin/ar" Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: /usr/bin/ar -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/libconftest.so /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -ldl Possible ERROR while running linker: stderr: /usr/bin/ar: creating /tmp/scratch/petsc-5_JlCR/config.setCompilers/libconftest.so Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.setCompilers /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *handle = dlopen("/tmp/scratch/petsc-5_JlCR/config.setCompilers/libconftest.so", 0); int (*foo)(void) = (int (*)(void)) dlsym(handle, "foo"); if (!foo) { printf("Could not load symbol\n"); return -1; } if ((*foo)()) { printf("Invalid return from foo()\n"); return -1; } if (dlclose(handle)) { printf("Could not close library\n"); return -1; } ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -ldl Using dynamic linker /usr/bin/ar with flags [] and library extension so ================================================================================ TEST output from config.setCompilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/setCompilers.py:1443) TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:1443) Output module data as defines and substitutions Substituting "CC" with "cc" Substituting "CFLAGS" with "" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "cc -E" Substituting "CPPFLAGS" with "" Substituting "CUDAC" with "nvcc" Substituting "CUDAFLAGS" with "" Substituting "CUDAPP" with "nvcc -E" Substituting "CUDAPPFLAGS" with "" Substituting "CXX" with "CC" Substituting "CXX_CXXFLAGS" with "" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXCPP" with "CC -E" Substituting "CXXCPPFLAGS" with "" Substituting "FC" with "ftn" Substituting "FFLAGS" with "" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "" Executing: uname -s stdout: Linux ================================================================================ TEST checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/sharedLibraries.py:37) TESTING: checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:37) ================================================================================ TEST configureSharedLibraries from PETSc.utilities.sharedLibraries(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/sharedLibraries.py:53) TESTING: configureSharedLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:53) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Defined make rule "shared_arch" with dependencies "" and code [] Defined make macro "BUILDSHAREDLIB" to "no" Defined "HAVE_SHARED_LIBRARIES" to "1" Shared libraries - disabled ================================================================================ TEST configureDynamicLibraries from PETSc.utilities.sharedLibraries(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/sharedLibraries.py:96) TESTING: configureDynamicLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:96) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ================================================================================ TEST configureSerializedFunctions from PETSc.utilities.sharedLibraries(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/sharedLibraries.py:102) TESTING: configureSerializedFunctions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:102) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ================================================================================ TEST configureCompilerFlags from config.compilerFlags(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilerFlags.py:71) TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:71) Get the default compiler flags Pushing language C Executing: cc --version stdout: pgcc 14.2-0 64-bit target on x86-64 Linux -tp bulldozer The Portland Group - PGI Compilers and Tools Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. getCompilerVersion: cc pgcc 14.2-0 64-bit target on x86-64 Linux -tp bulldozer Executing: cc --help stdout: Usage: cc [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: cc --help stdout: Usage: cc [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: cc --help stdout: Usage: cc [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Trying C compiler flag -mp -fast Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -mp -fast Popping language C Pushing language Cxx Executing: CC --version stdout: pgCC 14.2-0 64-bit target on x86-64 Linux -tp bulldozer The Portland Group - PGI Compilers and Tools Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. getCompilerVersion: CC pgCC 14.2-0 64-bit target on x86-64 Linux -tp bulldozer Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Trying Cxx compiler flag -mp -fast Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -mp -fast Popping language Cxx Pushing language FC Executing: ftn --version stdout: pgf90 14.2-0 64-bit target on x86-64 Linux -tp bulldozer The Portland Group - PGI Compilers and Tools Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. getCompilerVersion: ftn pgf90 14.2-0 64-bit target on x86-64 Linux -tp bulldozer Executing: ftn --help stdout: Usage: ftn [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: ftn --help stdout: Usage: ftn [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Trying FC compiler flag -mp -fast Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -mp -fast Popping language FC Pushing language CUDA Executing: nvcc --version stdout: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2013 NVIDIA Corporation Built on Thu_Mar__6_02:21:19_PST_2014 Cuda compilation tools, release 5.5, V5.5.0 getCompilerVersion: nvcc nvcc: NVIDIA (R) Cuda compiler driver Executing: nvcc --help stdout: Usage : nvcc [options] Options for specifying the compilation phase ============================================ More exactly, this option specifies up to which stage the input files must be compiled, according to the following compilation trajectories for different input file types: .c/.cc/.cpp/.cxx : preprocess, compile, link .o : link .i/.ii : compile, link .cu : preprocess, cuda frontend, ptxassemble, merge with host C code, compile, link .gpu : cicc compile into cubin .ptx : ptxassemble into cubin. --cuda (-cuda) Compile all .cu input files to .cu.cpp.ii output. --cubin (-cubin) Compile all .cu/.ptx/.gpu input files to device- only .cubin files. This step discards the host code for each .cu input file. --fatbin(-fatbin) Compile all .cu/.ptx/.gpu input files to ptx or device- only .cubin files (depending on the values specified for options '-arch' and/or '-code') and place the result into the fat binary file specified with option -o. This step discards the host code for each .cu input file. --ptx (-ptx) Compile all .cu/.gpu input files to device- only .ptx files. This step discards the host code for each of these input file. --gpu (-gpu) Compile all .cu input files to device-only .gpu files. This step discards the host code for each .cu input file. --preprocess (-E) Preprocess all .c/.cc/.cpp/.cxx/.cu input files. --generate-dependencies (-M) Generate for the one .c/.cc/.cpp/.cxx/.cu input file (more than one input file is not allowed in this mode) a dependency file that can be included in a make file. --compile (-c) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file. --device-c (-dc) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains relocatable device code. It is equivalent to '--relocatable-device-code=true --compile'. --device-w (-dw) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains executable device code. It is equivalent to '--relocatable-device-code=false --compile'. --device-link (-dlink) Link object files with relocatable device code and .ptx/.cubin/.fatbin files into an object file with executable device code, which can be passed to the host linker. --link (-link) This option specifies the default behavior: compile and link all inputs . --no-device-link (-nodlink) Skip the device link step when linking object files. --lib (-lib) Compile all inputs into object files (if necessary) and add the results to the specified output library file. --run (-run) This option compiles and links all inputs into an executable, and executes it. Or, when the input is a single executable, it is executed without any compilation or linking. This step is intended for developers who do not want to be bothered with setting the necessary cuda dll search paths (these will be set temporarily by nvcc). File and path specifications ============================ --x (-x) Explicitly specify the language for the input files, rather than letting the compiler choose a default based on the file name suffix. Allowed values for this option: 'c','c++','cu'. --output-file (-o) Specify name and location of the output file. Only a single input file is allowed when this option is present in nvcc non- linking/archiving mode. --pre-include ,... (-include) Specify header files that must be preincluded during preprocessing. --library ,... (-l) Specify libraries to be used in the linking stage without the library file extension. The libraries are searched for on the library search paths that have been specified using option '-L'. --define-macro ,... (-D) Specify macro definitions to define for use during preprocessing or compilation. --undefine-macro ,... (-U) Specify macro definitions to undefine for use during preprocessing or compilation. --include-path ,... (-I) Specify include search paths. --system-include ,... (-isystem) Specify system include search paths. --library-path ,... (-L) Specify library search paths. --output-directory (-odir) Specify the directory of the output file. This option is intended for letting the dependency generation step (option '--generate-dependencies') generate a rule that defines the target object file in the proper directory. --compiler-bindir (-ccbin) Specify the directory in which the compiler executable (Microsoft Visual Studio cl, or a gcc derivative) resides. By default, this executable is expected in the current executable search path. For a different compiler, or to specify these compilers with a different executable name, specify the path to the compiler including the executable name. --cudart(-cudart) Specify the type of CUDA runtime library to be used: static CUDA runtime library, shared/dynamic CUDA runtime library, or no CUDA runtime library. By default, the static CUDA runtime library is used. Allowed values for this option: 'none','shared','static'. Default value: 'static'. --cl-version --cl-version Specify the version of Microsoft Visual Studio installation. Note: this option is to be used in conjunction with '--use-local-env', and is ignored when '--use-local-env' is not specified. Allowed values for this option: 2008,2010,2012. --use-local-env --use-local-env Specify whether the environment is already set up for the host compiler . --libdevice-directory (-ldir) Specify the directory that contains the libdevice library files when option '--dont-use-profile' is used. Libdevice library files are located in the 'nvvm/libdevice' directory in the CUDA toolkit. Options for specifying behaviour of compiler/linker =================================================== --profile (-pg) Instrument generated code/executable for use by gprof (Linux only). --debug (-g) Generate debug information for host code. --device-debug (-G) Generate debug information for device code. --generate-line-info (-lineinfo) Generate line-number information for device code. --optimize (-O) Specify optimization level for host code. --shared(-shared) Generate a shared library during linking. Note: when other linker options are required for controlling dll generation, use option -Xlinker. --machine (-m) Specify 32 vs 64 bit architecture. Allowed values for this option: 32,64. Default value: 64. Options for passing specific phase options ========================================== These allow for passing options directly to the intended compilation phase. Using these, users have the ability to pass options to the lower level compilation tools, without the need for nvcc to know about each and every such option. --compiler-options ,... (-Xcompiler) Specify options directly to the compiler/preprocessor. --linker-options ,... (-Xlinker) Specify options directly to the host linker. --archive-options ,... (-Xarchive) Specify options directly to library manager. --cudafe-options ,... (-Xcudafe) Specify options directly to cudafe. --ptxas-options ,... (-Xptxas) Specify options directly to the ptx optimizing assembler. --nvlink-options ,... (-Xnvlink) Specify options directly to nvlink. Miscellaneous options for guiding the compiler driver ===================================================== --dont-use-profile (-noprof) Nvcc uses the nvcc.profiles file for compilation. When specifying this option, the profile file is not used. --dryrun(-dryrun) Do not execute the compilation commands generated by nvcc. Instead, list them. --verbose (-v) List the compilation commands generated by this compiler driver, but do not suppress their execution. --keep (-keep) Keep all intermediate files that are generated during internal compilation steps. --keep-dir (-keep-dir) Keep all intermediate files that are generated during internal compilation steps in this directory. --save-temps (-save-temps) This option is an alias of '--keep'. --clean-targets (-clean) This option reverses the behaviour of nvcc. When specified, none of the compilation phases will be executed. Instead, all of the non- temporary files that nvcc would otherwise create will be deleted. --run-args ,... (-run-args) Used in combination with option -R, to specify command line arguments for the executable. --input-drive-prefix (-idp) On Windows platforms, all command line arguments that refer to file names must be converted to Windows native format before they are passed to pure Windows executables. This option specifies how the 'current' development environment represents absolute paths. Use '-idp /cygwin/' for CygWin build environments, and '-idp /' for Mingw. --dependency-drive-prefix (-ddp) On Windows platforms, when generating dependency files (option -M), all file names must be converted to whatever the used instance of 'make' will recognize. Some instances of 'make' have trouble with the colon in absolute paths in native Windows format, which depends on the environment in which this 'make' instance has been compiled. Use '-ddp /cygwin/' for a CygWin make, and '-ddp /' for Mingw. Or leave these file names in native Windows format by specifying nothing. --dependency-target-name (-MT) Specify the target name of the generated rule when generating a dependency file (option -M). --drive-prefix (-dp) Specifies as both input-drive-prefix and dependency-drive-prefix. --no-align-double --no-align-double Specifies that -malign-double should not be passed as a compiler argument on 32-bit platforms. WARNING: this makes the ABI incompatible with the cuda's kernel ABI for certain 64-bit types. Options for steering GPU code generation ======================================== --gpu-architecture (-arch) Specify the name of the class of nVidia GPU architectures for which the cuda input files must be compiled. With the exception as described for the shorthand below, the architecture specified with this option must be a virtual architecture (such as compute_10), and it will be the assumed architecture during the cicc compilation stage. This option will cause no code to be generated (that is the role of nvcc option '--gpu-code', see below); rather, its purpose is to steer the cicc stage, influencing the architecture of the generated ptx intermediate. For convenience in case of simple nvcc compilations the following shorthand is supported: if no value for option '--gpu-code' is specified, then the value of this option defaults to the value of '--gpu-architecture'. In this situation, as only exception to the description above, the value specified for '--gpu-architecture' may be a 'real' architecture (such as a sm_13), in which case nvcc uses the specified real architecture and its closest virtual architecture as effective architecture values. For example, 'nvcc -arch=sm_13' is equivalent to 'nvcc -arch=compute_13 -code=sm_13,compute_13'. Allowed values for this option: 'compute_10','compute_11','compute_12', 'compute_13','compute_20','compute_30','compute_35','sm_10','sm_11', 'sm_12','sm_13','sm_20','sm_21','sm_30','sm_35'. --gpu-code ,... (-code) Specify the names of nVidia gpus to generate code for. nvcc will embed a compiled code image in the resulting executable for each specified 'code' architecture. This code image will be a true binary load image for each 'real' architecture (such as a sm_13), and ptx intermediate code for each virtual architecture (such as compute_10). During runtime, in case no better binary load image is found, and provided that the ptx architecture is compatible with the 'current' GPU, such embedded ptx code will be dynamically translated for this current GPU by the cuda runtime system. Architectures specified for this option can be virtual as well as real, but each of these 'code' architectures must be compatible with the architecture specified with option '--gpu-architecture'. For instance, 'arch'=compute_13 is not compatible with 'code'=sm_10, because the generated ptx code will assume the availability of compute_13 features that are not present on sm_10. Allowed values for this option: 'compute_10','compute_11','compute_12', 'compute_13','compute_20','compute_30','compute_35','sm_10','sm_11', 'sm_12','sm_13','sm_20','sm_21','sm_30','sm_35'. --generate-code (-gencode) This option provides a generalization of the '--gpu-architecture= --gpu-code=code,...' option combination for specifying nvcc behavior with respect to code generation. Where use of the previous options generates different code for a fixed virtual architecture, option '--generate-code' allows multiple cicc invocations, iterating over different virtual architectures. In fact, '--gpu-architecture= --gpu-code=,...' is equivalent to '--generate-code arch=,code=,...'. '--generate-code' options may be repeated for different virtual architectures. Allowed keywords for this option: 'arch','code'. --maxrregcount (-maxrregcount) Specify the maximum amount of registers that GPU functions can use. Until a function- specific limit, a higher value will generally increase the performance of individual GPU threads that execute this function. However, because thread registers are allocated from a global register pool on each GPU, a higher value of this option will also reduce the maximum thread block size, thereby reducing the amount of thread parallelism. Hence, a good maxrregcount value is the result of a trade-off. If this option is not specified, then no maximum is assumed. Value less than the minimum registers required by ABI will be bumped up by the compiler to ABI minimum limit. --ftz [true,false] (-ftz) When performing single-precision floating-point operations, flush denormal values to zero or preserve denormal values. -use_fast_math implies --ftz=true. Default value: 0. --prec-div [true,false] (-prec-div) For single-precision floating-point division and reciprocals, use IEEE round-to-nearest mode or use a faster approximation. -use_fast_math implies --prec-div=false. Default value: 1. --prec-sqrt [true,false] (-prec-sqrt) For single-precision floating-point square root, use IEEE round-to-nearest mode or use a faster approximation. -use_fast_math implies --prec-sqrt=false. Default value: 1. --fmad [true,false] (-fmad) Enables (disables) the contraction of floating-point multiplies and adds/subtracts into floating-point multiply-add operations (FMAD, FFMA, or DFMA). This option is supported only when '--gpu-architecture' is set with compute_20, sm_20, or higher. For other architecture classes, the contraction is always enabled. -use_fast_math implies --fmad=true. Default value: 1. --relocatable-device-code [true,false] (-rdc) Enable (disable) the generation of relocatable device code. If disabled, executable device code is generated. Default value: 0. Options for steering cuda compilation ===================================== --target-cpu-architecture (-target-cpu-arch) Specify the name of the class of CPU architecture for which the input files must be compiled. Allowed values for this option: 'ARM','x86'. Default value: 'x86'. --use_fast_math (-use_fast_math) Make use of fast math library. -use_fast_math implies -ftz=true -prec-div=false -prec-sqrt=false. --entries entry,... (-e) In case of compilation of ptx or gpu files to cubin: specify the global entry functions for which code must be generated. By default, code will be generated for all entry functions. Generic tool options ==================== --disable-warnings (-w) Inhibit all warning messages. --source-in-ptx (-src-in-ptx) Interleave source in ptx. --restrict (-restrict) Programmer assertion that all kernel pointer parameters are restrict pointers. --Werror,... (-Werror) Make warnings of the specified kinds into errors. The following is the list of warning kinds accepted by this option: cross-execution-space-call Be more strict about unsupported cross execution space calls. The compiler will generate an error instead of a warning for a call from a __host__ __device__ to a __host__ function. Allowed values for this option: 'cross-execution-space-call'. --help (-h) Print this help information on this tool. --version (-V) Print version information on this tool. --options-file ,... (-optf) Include command line options from specified file. Executing: nvcc --help stdout: Usage : nvcc [options] Options for specifying the compilation phase ============================================ More exactly, this option specifies up to which stage the input files must be compiled, according to the following compilation trajectories for different input file types: .c/.cc/.cpp/.cxx : preprocess, compile, link .o : link .i/.ii : compile, link .cu : preprocess, cuda frontend, ptxassemble, merge with host C code, compile, link .gpu : cicc compile into cubin .ptx : ptxassemble into cubin. --cuda (-cuda) Compile all .cu input files to .cu.cpp.ii output. --cubin (-cubin) Compile all .cu/.ptx/.gpu input files to device- only .cubin files. This step discards the host code for each .cu input file. --fatbin(-fatbin) Compile all .cu/.ptx/.gpu input files to ptx or device- only .cubin files (depending on the values specified for options '-arch' and/or '-code') and place the result into the fat binary file specified with option -o. This step discards the host code for each .cu input file. --ptx (-ptx) Compile all .cu/.gpu input files to device- only .ptx files. This step discards the host code for each of these input file. --gpu (-gpu) Compile all .cu input files to device-only .gpu files. This step discards the host code for each .cu input file. --preprocess (-E) Preprocess all .c/.cc/.cpp/.cxx/.cu input files. --generate-dependencies (-M) Generate for the one .c/.cc/.cpp/.cxx/.cu input file (more than one input file is not allowed in this mode) a dependency file that can be included in a make file. --compile (-c) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file. --device-c (-dc) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains relocatable device code. It is equivalent to '--relocatable-device-code=true --compile'. --device-w (-dw) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains executable device code. It is equivalent to '--relocatable-device-code=false --compile'. --device-link (-dlink) Link object files with relocatable device code and .ptx/.cubin/.fatbin files into an object file with executable device code, which can be passed to the host linker. --link (-link) This option specifies the default behavior: compile and link all inputs . --no-device-link (-nodlink) Skip the device link step when linking object files. --lib (-lib) Compile all inputs into object files (if necessary) and add the results to the specified output library file. --run (-run) This option compiles and links all inputs into an executable, and executes it. Or, when the input is a single executable, it is executed without any compilation or linking. This step is intended for developers who do not want to be bothered with setting the necessary cuda dll search paths (these will be set temporarily by nvcc). File and path specifications ============================ --x (-x) Explicitly specify the language for the input files, rather than letting the compiler choose a default based on the file name suffix. Allowed values for this option: 'c','c++','cu'. --output-file (-o) Specify name and location of the output file. Only a single input file is allowed when this option is present in nvcc non- linking/archiving mode. --pre-include ,... (-include) Specify header files that must be preincluded during preprocessing. --library ,... (-l) Specify libraries to be used in the linking stage without the library file extension. The libraries are searched for on the library search paths that have been specified using option '-L'. --define-macro ,... (-D) Specify macro definitions to define for use during preprocessing or compilation. --undefine-macro ,... (-U) Specify macro definitions to undefine for use during preprocessing or compilation. --include-path ,... (-I) Specify include search paths. --system-include ,... (-isystem) Specify system include search paths. --library-path ,... (-L) Specify library search paths. --output-directory (-odir) Specify the directory of the output file. This option is intended for letting the dependency generation step (option '--generate-dependencies') generate a rule that defines the target object file in the proper directory. --compiler-bindir (-ccbin) Specify the directory in which the compiler executable (Microsoft Visual Studio cl, or a gcc derivative) resides. By default, this executable is expected in the current executable search path. For a different compiler, or to specify these compilers with a different executable name, specify the path to the compiler including the executable name. --cudart(-cudart) Specify the type of CUDA runtime library to be used: static CUDA runtime library, shared/dynamic CUDA runtime library, or no CUDA runtime library. By default, the static CUDA runtime library is used. Allowed values for this option: 'none','shared','static'. Default value: 'static'. --cl-version --cl-version Specify the version of Microsoft Visual Studio installation. Note: this option is to be used in conjunction with '--use-local-env', and is ignored when '--use-local-env' is not specified. Allowed values for this option: 2008,2010,2012. --use-local-env --use-local-env Specify whether the environment is already set up for the host compiler . --libdevice-directory (-ldir) Specify the directory that contains the libdevice library files when option '--dont-use-profile' is used. Libdevice library files are located in the 'nvvm/libdevice' directory in the CUDA toolkit. Options for specifying behaviour of compiler/linker =================================================== --profile (-pg) Instrument generated code/executable for use by gprof (Linux only). --debug (-g) Generate debug information for host code. --device-debug (-G) Generate debug information for device code. --generate-line-info (-lineinfo) Generate line-number information for device code. --optimize (-O) Specify optimization level for host code. --shared(-shared) Generate a shared library during linking. Note: when other linker options are required for controlling dll generation, use option -Xlinker. --machine (-m) Specify 32 vs 64 bit architecture. Allowed values for this option: 32,64. Default value: 64. Options for passing specific phase options ========================================== These allow for passing options directly to the intended compilation phase. Using these, users have the ability to pass options to the lower level compilation tools, without the need for nvcc to know about each and every such option. --compiler-options ,... (-Xcompiler) Specify options directly to the compiler/preprocessor. --linker-options ,... (-Xlinker) Specify options directly to the host linker. --archive-options ,... (-Xarchive) Specify options directly to library manager. --cudafe-options ,... (-Xcudafe) Specify options directly to cudafe. --ptxas-options ,... (-Xptxas) Specify options directly to the ptx optimizing assembler. --nvlink-options ,... (-Xnvlink) Specify options directly to nvlink. Miscellaneous options for guiding the compiler driver ===================================================== --dont-use-profile (-noprof) Nvcc uses the nvcc.profiles file for compilation. When specifying this option, the profile file is not used. --dryrun(-dryrun) Do not execute the compilation commands generated by nvcc. Instead, list them. --verbose (-v) List the compilation commands generated by this compiler driver, but do not suppress their execution. --keep (-keep) Keep all intermediate files that are generated during internal compilation steps. --keep-dir (-keep-dir) Keep all intermediate files that are generated during internal compilation steps in this directory. --save-temps (-save-temps) This option is an alias of '--keep'. --clean-targets (-clean) This option reverses the behaviour of nvcc. When specified, none of the compilation phases will be executed. Instead, all of the non- temporary files that nvcc would otherwise create will be deleted. --run-args ,... (-run-args) Used in combination with option -R, to specify command line arguments for the executable. --input-drive-prefix (-idp) On Windows platforms, all command line arguments that refer to file names must be converted to Windows native format before they are passed to pure Windows executables. This option specifies how the 'current' development environment represents absolute paths. Use '-idp /cygwin/' for CygWin build environments, and '-idp /' for Mingw. --dependency-drive-prefix (-ddp) On Windows platforms, when generating dependency files (option -M), all file names must be converted to whatever the used instance of 'make' will recognize. Some instances of 'make' have trouble with the colon in absolute paths in native Windows format, which depends on the environment in which this 'make' instance has been compiled. Use '-ddp /cygwin/' for a CygWin make, and '-ddp /' for Mingw. Or leave these file names in native Windows format by specifying nothing. --dependency-target-name (-MT) Specify the target name of the generated rule when generating a dependency file (option -M). --drive-prefix (-dp) Specifies as both input-drive-prefix and dependency-drive-prefix. --no-align-double --no-align-double Specifies that -malign-double should not be passed as a compiler argument on 32-bit platforms. WARNING: this makes the ABI incompatible with the cuda's kernel ABI for certain 64-bit types. Options for steering GPU code generation ======================================== --gpu-architecture (-arch) Specify the name of the class of nVidia GPU architectures for which the cuda input files must be compiled. With the exception as described for the shorthand below, the architecture specified with this option must be a virtual architecture (such as compute_10), and it will be the assumed architecture during the cicc compilation stage. This option will cause no code to be generated (that is the role of nvcc option '--gpu-code', see below); rather, its purpose is to steer the cicc stage, influencing the architecture of the generated ptx intermediate. For convenience in case of simple nvcc compilations the following shorthand is supported: if no value for option '--gpu-code' is specified, then the value of this option defaults to the value of '--gpu-architecture'. In this situation, as only exception to the description above, the value specified for '--gpu-architecture' may be a 'real' architecture (such as a sm_13), in which case nvcc uses the specified real architecture and its closest virtual architecture as effective architecture values. For example, 'nvcc -arch=sm_13' is equivalent to 'nvcc -arch=compute_13 -code=sm_13,compute_13'. Allowed values for this option: 'compute_10','compute_11','compute_12', 'compute_13','compute_20','compute_30','compute_35','sm_10','sm_11', 'sm_12','sm_13','sm_20','sm_21','sm_30','sm_35'. --gpu-code ,... (-code) Specify the names of nVidia gpus to generate code for. nvcc will embed a compiled code image in the resulting executable for each specified 'code' architecture. This code image will be a true binary load image for each 'real' architecture (such as a sm_13), and ptx intermediate code for each virtual architecture (such as compute_10). During runtime, in case no better binary load image is found, and provided that the ptx architecture is compatible with the 'current' GPU, such embedded ptx code will be dynamically translated for this current GPU by the cuda runtime system. Architectures specified for this option can be virtual as well as real, but each of these 'code' architectures must be compatible with the architecture specified with option '--gpu-architecture'. For instance, 'arch'=compute_13 is not compatible with 'code'=sm_10, because the generated ptx code will assume the availability of compute_13 features that are not present on sm_10. Allowed values for this option: 'compute_10','compute_11','compute_12', 'compute_13','compute_20','compute_30','compute_35','sm_10','sm_11', 'sm_12','sm_13','sm_20','sm_21','sm_30','sm_35'. --generate-code (-gencode) This option provides a generalization of the '--gpu-architecture= --gpu-code=code,...' option combination for specifying nvcc behavior with respect to code generation. Where use of the previous options generates different code for a fixed virtual architecture, option '--generate-code' allows multiple cicc invocations, iterating over different virtual architectures. In fact, '--gpu-architecture= --gpu-code=,...' is equivalent to '--generate-code arch=,code=,...'. '--generate-code' options may be repeated for different virtual architectures. Allowed keywords for this option: 'arch','code'. --maxrregcount (-maxrregcount) Specify the maximum amount of registers that GPU functions can use. Until a function- specific limit, a higher value will generally increase the performance of individual GPU threads that execute this function. However, because thread registers are allocated from a global register pool on each GPU, a higher value of this option will also reduce the maximum thread block size, thereby reducing the amount of thread parallelism. Hence, a good maxrregcount value is the result of a trade-off. If this option is not specified, then no maximum is assumed. Value less than the minimum registers required by ABI will be bumped up by the compiler to ABI minimum limit. --ftz [true,false] (-ftz) When performing single-precision floating-point operations, flush denormal values to zero or preserve denormal values. -use_fast_math implies --ftz=true. Default value: 0. --prec-div [true,false] (-prec-div) For single-precision floating-point division and reciprocals, use IEEE round-to-nearest mode or use a faster approximation. -use_fast_math implies --prec-div=false. Default value: 1. --prec-sqrt [true,false] (-prec-sqrt) For single-precision floating-point square root, use IEEE round-to-nearest mode or use a faster approximation. -use_fast_math implies --prec-sqrt=false. Default value: 1. --fmad [true,false] (-fmad) Enables (disables) the contraction of floating-point multiplies and adds/subtracts into floating-point multiply-add operations (FMAD, FFMA, or DFMA). This option is supported only when '--gpu-architecture' is set with compute_20, sm_20, or higher. For other architecture classes, the contraction is always enabled. -use_fast_math implies --fmad=true. Default value: 1. --relocatable-device-code [true,false] (-rdc) Enable (disable) the generation of relocatable device code. If disabled, executable device code is generated. Default value: 0. Options for steering cuda compilation ===================================== --target-cpu-architecture (-target-cpu-arch) Specify the name of the class of CPU architecture for which the input files must be compiled. Allowed values for this option: 'ARM','x86'. Default value: 'x86'. --use_fast_math (-use_fast_math) Make use of fast math library. -use_fast_math implies -ftz=true -prec-div=false -prec-sqrt=false. --entries entry,... (-e) In case of compilation of ptx or gpu files to cubin: specify the global entry functions for which code must be generated. By default, code will be generated for all entry functions. Generic tool options ==================== --disable-warnings (-w) Inhibit all warning messages. --source-in-ptx (-src-in-ptx) Interleave source in ptx. --restrict (-restrict) Programmer assertion that all kernel pointer parameters are restrict pointers. --Werror,... (-Werror) Make warnings of the specified kinds into errors. The following is the list of warning kinds accepted by this option: cross-execution-space-call Be more strict about unsupported cross execution space calls. The compiler will generate an error instead of a warning for a call from a __host__ __device__ to a __host__ function. Allowed values for this option: 'cross-execution-space-call'. --help (-h) Print this help information on this tool. --version (-V) Print version information on this tool. --options-file ,... (-optf) Include command line options from specified file. Executing: nvcc --help stdout: Usage : nvcc [options] Options for specifying the compilation phase ============================================ More exactly, this option specifies up to which stage the input files must be compiled, according to the following compilation trajectories for different input file types: .c/.cc/.cpp/.cxx : preprocess, compile, link .o : link .i/.ii : compile, link .cu : preprocess, cuda frontend, ptxassemble, merge with host C code, compile, link .gpu : cicc compile into cubin .ptx : ptxassemble into cubin. --cuda (-cuda) Compile all .cu input files to .cu.cpp.ii output. --cubin (-cubin) Compile all .cu/.ptx/.gpu input files to device- only .cubin files. This step discards the host code for each .cu input file. --fatbin(-fatbin) Compile all .cu/.ptx/.gpu input files to ptx or device- only .cubin files (depending on the values specified for options '-arch' and/or '-code') and place the result into the fat binary file specified with option -o. This step discards the host code for each .cu input file. --ptx (-ptx) Compile all .cu/.gpu input files to device- only .ptx files. This step discards the host code for each of these input file. --gpu (-gpu) Compile all .cu input files to device-only .gpu files. This step discards the host code for each .cu input file. --preprocess (-E) Preprocess all .c/.cc/.cpp/.cxx/.cu input files. --generate-dependencies (-M) Generate for the one .c/.cc/.cpp/.cxx/.cu input file (more than one input file is not allowed in this mode) a dependency file that can be included in a make file. --compile (-c) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file. --device-c (-dc) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains relocatable device code. It is equivalent to '--relocatable-device-code=true --compile'. --device-w (-dw) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains executable device code. It is equivalent to '--relocatable-device-code=false --compile'. --device-link (-dlink) Link object files with relocatable device code and .ptx/.cubin/.fatbin files into an object file with executable device code, which can be passed to the host linker. --link (-link) This option specifies the default behavior: compile and link all inputs . --no-device-link (-nodlink) Skip the device link step when linking object files. --lib (-lib) Compile all inputs into object files (if necessary) and add the results to the specified output library file. --run (-run) This option compiles and links all inputs into an executable, and executes it. Or, when the input is a single executable, it is executed without any compilation or linking. This step is intended for developers who do not want to be bothered with setting the necessary cuda dll search paths (these will be set temporarily by nvcc). File and path specifications ============================ --x (-x) Explicitly specify the language for the input files, rather than letting the compiler choose a default based on the file name suffix. Allowed values for this option: 'c','c++','cu'. --output-file (-o) Specify name and location of the output file. Only a single input file is allowed when this option is present in nvcc non- linking/archiving mode. --pre-include ,... (-include) Specify header files that must be preincluded during preprocessing. --library ,... (-l) Specify libraries to be used in the linking stage without the library file extension. The libraries are searched for on the library search paths that have been specified using option '-L'. --define-macro ,... (-D) Specify macro definitions to define for use during preprocessing or compilation. --undefine-macro ,... (-U) Specify macro definitions to undefine for use during preprocessing or compilation. --include-path ,... (-I) Specify include search paths. --system-include ,... (-isystem) Specify system include search paths. --library-path ,... (-L) Specify library search paths. --output-directory (-odir) Specify the directory of the output file. This option is intended for letting the dependency generation step (option '--generate-dependencies') generate a rule that defines the target object file in the proper directory. --compiler-bindir (-ccbin) Specify the directory in which the compiler executable (Microsoft Visual Studio cl, or a gcc derivative) resides. By default, this executable is expected in the current executable search path. For a different compiler, or to specify these compilers with a different executable name, specify the path to the compiler including the executable name. --cudart(-cudart) Specify the type of CUDA runtime library to be used: static CUDA runtime library, shared/dynamic CUDA runtime library, or no CUDA runtime library. By default, the static CUDA runtime library is used. Allowed values for this option: 'none','shared','static'. Default value: 'static'. --cl-version --cl-version Specify the version of Microsoft Visual Studio installation. Note: this option is to be used in conjunction with '--use-local-env', and is ignored when '--use-local-env' is not specified. Allowed values for this option: 2008,2010,2012. --use-local-env --use-local-env Specify whether the environment is already set up for the host compiler . --libdevice-directory (-ldir) Specify the directory that contains the libdevice library files when option '--dont-use-profile' is used. Libdevice library files are located in the 'nvvm/libdevice' directory in the CUDA toolkit. Options for specifying behaviour of compiler/linker =================================================== --profile (-pg) Instrument generated code/executable for use by gprof (Linux only). --debug (-g) Generate debug information for host code. --device-debug (-G) Generate debug information for device code. --generate-line-info (-lineinfo) Generate line-number information for device code. --optimize (-O) Specify optimization level for host code. --shared(-shared) Generate a shared library during linking. Note: when other linker options are required for controlling dll generation, use option -Xlinker. --machine (-m) Specify 32 vs 64 bit architecture. Allowed values for this option: 32,64. Default value: 64. Options for passing specific phase options ========================================== These allow for passing options directly to the intended compilation phase. Using these, users have the ability to pass options to the lower level compilation tools, without the need for nvcc to know about each and every such option. --compiler-options ,... (-Xcompiler) Specify options directly to the compiler/preprocessor. --linker-options ,... (-Xlinker) Specify options directly to the host linker. --archive-options ,... (-Xarchive) Specify options directly to library manager. --cudafe-options ,... (-Xcudafe) Specify options directly to cudafe. --ptxas-options ,... (-Xptxas) Specify options directly to the ptx optimizing assembler. --nvlink-options ,... (-Xnvlink) Specify options directly to nvlink. Miscellaneous options for guiding the compiler driver ===================================================== --dont-use-profile (-noprof) Nvcc uses the nvcc.profiles file for compilation. When specifying this option, the profile file is not used. --dryrun(-dryrun) Do not execute the compilation commands generated by nvcc. Instead, list them. --verbose (-v) List the compilation commands generated by this compiler driver, but do not suppress their execution. --keep (-keep) Keep all intermediate files that are generated during internal compilation steps. --keep-dir (-keep-dir) Keep all intermediate files that are generated during internal compilation steps in this directory. --save-temps (-save-temps) This option is an alias of '--keep'. --clean-targets (-clean) This option reverses the behaviour of nvcc. When specified, none of the compilation phases will be executed. Instead, all of the non- temporary files that nvcc would otherwise create will be deleted. --run-args ,... (-run-args) Used in combination with option -R, to specify command line arguments for the executable. --input-drive-prefix (-idp) On Windows platforms, all command line arguments that refer to file names must be converted to Windows native format before they are passed to pure Windows executables. This option specifies how the 'current' development environment represents absolute paths. Use '-idp /cygwin/' for CygWin build environments, and '-idp /' for Mingw. --dependency-drive-prefix (-ddp) On Windows platforms, when generating dependency files (option -M), all file names must be converted to whatever the used instance of 'make' will recognize. Some instances of 'make' have trouble with the colon in absolute paths in native Windows format, which depends on the environment in which this 'make' instance has been compiled. Use '-ddp /cygwin/' for a CygWin make, and '-ddp /' for Mingw. Or leave these file names in native Windows format by specifying nothing. --dependency-target-name (-MT) Specify the target name of the generated rule when generating a dependency file (option -M). --drive-prefix (-dp) Specifies as both input-drive-prefix and dependency-drive-prefix. --no-align-double --no-align-double Specifies that -malign-double should not be passed as a compiler argument on 32-bit platforms. WARNING: this makes the ABI incompatible with the cuda's kernel ABI for certain 64-bit types. Options for steering GPU code generation ======================================== --gpu-architecture (-arch) Specify the name of the class of nVidia GPU architectures for which the cuda input files must be compiled. With the exception as described for the shorthand below, the architecture specified with this option must be a virtual architecture (such as compute_10), and it will be the assumed architecture during the cicc compilation stage. This option will cause no code to be generated (that is the role of nvcc option '--gpu-code', see below); rather, its purpose is to steer the cicc stage, influencing the architecture of the generated ptx intermediate. For convenience in case of simple nvcc compilations the following shorthand is supported: if no value for option '--gpu-code' is specified, then the value of this option defaults to the value of '--gpu-architecture'. In this situation, as only exception to the description above, the value specified for '--gpu-architecture' may be a 'real' architecture (such as a sm_13), in which case nvcc uses the specified real architecture and its closest virtual architecture as effective architecture values. For example, 'nvcc -arch=sm_13' is equivalent to 'nvcc -arch=compute_13 -code=sm_13,compute_13'. Allowed values for this option: 'compute_10','compute_11','compute_12', 'compute_13','compute_20','compute_30','compute_35','sm_10','sm_11', 'sm_12','sm_13','sm_20','sm_21','sm_30','sm_35'. --gpu-code ,... (-code) Specify the names of nVidia gpus to generate code for. nvcc will embed a compiled code image in the resulting executable for each specified 'code' architecture. This code image will be a true binary load image for each 'real' architecture (such as a sm_13), and ptx intermediate code for each virtual architecture (such as compute_10). During runtime, in case no better binary load image is found, and provided that the ptx architecture is compatible with the 'current' GPU, such embedded ptx code will be dynamically translated for this current GPU by the cuda runtime system. Architectures specified for this option can be virtual as well as real, but each of these 'code' architectures must be compatible with the architecture specified with option '--gpu-architecture'. For instance, 'arch'=compute_13 is not compatible with 'code'=sm_10, because the generated ptx code will assume the availability of compute_13 features that are not present on sm_10. Allowed values for this option: 'compute_10','compute_11','compute_12', 'compute_13','compute_20','compute_30','compute_35','sm_10','sm_11', 'sm_12','sm_13','sm_20','sm_21','sm_30','sm_35'. --generate-code (-gencode) This option provides a generalization of the '--gpu-architecture= --gpu-code=code,...' option combination for specifying nvcc behavior with respect to code generation. Where use of the previous options generates different code for a fixed virtual architecture, option '--generate-code' allows multiple cicc invocations, iterating over different virtual architectures. In fact, '--gpu-architecture= --gpu-code=,...' is equivalent to '--generate-code arch=,code=,...'. '--generate-code' options may be repeated for different virtual architectures. Allowed keywords for this option: 'arch','code'. --maxrregcount (-maxrregcount) Specify the maximum amount of registers that GPU functions can use. Until a function- specific limit, a higher value will generally increase the performance of individual GPU threads that execute this function. However, because thread registers are allocated from a global register pool on each GPU, a higher value of this option will also reduce the maximum thread block size, thereby reducing the amount of thread parallelism. Hence, a good maxrregcount value is the result of a trade-off. If this option is not specified, then no maximum is assumed. Value less than the minimum registers required by ABI will be bumped up by the compiler to ABI minimum limit. --ftz [true,false] (-ftz) When performing single-precision floating-point operations, flush denormal values to zero or preserve denormal values. -use_fast_math implies --ftz=true. Default value: 0. --prec-div [true,false] (-prec-div) For single-precision floating-point division and reciprocals, use IEEE round-to-nearest mode or use a faster approximation. -use_fast_math implies --prec-div=false. Default value: 1. --prec-sqrt [true,false] (-prec-sqrt) For single-precision floating-point square root, use IEEE round-to-nearest mode or use a faster approximation. -use_fast_math implies --prec-sqrt=false. Default value: 1. --fmad [true,false] (-fmad) Enables (disables) the contraction of floating-point multiplies and adds/subtracts into floating-point multiply-add operations (FMAD, FFMA, or DFMA). This option is supported only when '--gpu-architecture' is set with compute_20, sm_20, or higher. For other architecture classes, the contraction is always enabled. -use_fast_math implies --fmad=true. Default value: 1. --relocatable-device-code [true,false] (-rdc) Enable (disable) the generation of relocatable device code. If disabled, executable device code is generated. Default value: 0. Options for steering cuda compilation ===================================== --target-cpu-architecture (-target-cpu-arch) Specify the name of the class of CPU architecture for which the input files must be compiled. Allowed values for this option: 'ARM','x86'. Default value: 'x86'. --use_fast_math (-use_fast_math) Make use of fast math library. -use_fast_math implies -ftz=true -prec-div=false -prec-sqrt=false. --entries entry,... (-e) In case of compilation of ptx or gpu files to cubin: specify the global entry functions for which code must be generated. By default, code will be generated for all entry functions. Generic tool options ==================== --disable-warnings (-w) Inhibit all warning messages. --source-in-ptx (-src-in-ptx) Interleave source in ptx. --restrict (-restrict) Programmer assertion that all kernel pointer parameters are restrict pointers. --Werror,... (-Werror) Make warnings of the specified kinds into errors. The following is the list of warning kinds accepted by this option: cross-execution-space-call Be more strict about unsupported cross execution space calls. The compiler will generate an error instead of a warning for a call from a __host__ __device__ to a __host__ function. Allowed values for this option: 'cross-execution-space-call'. --help (-h) Print this help information on this tool. --version (-V) Print version information on this tool. --options-file ,... (-optf) Include command line options from specified file. Executing: nvcc --help stdout: Usage : nvcc [options] Options for specifying the compilation phase ============================================ More exactly, this option specifies up to which stage the input files must be compiled, according to the following compilation trajectories for different input file types: .c/.cc/.cpp/.cxx : preprocess, compile, link .o : link .i/.ii : compile, link .cu : preprocess, cuda frontend, ptxassemble, merge with host C code, compile, link .gpu : cicc compile into cubin .ptx : ptxassemble into cubin. --cuda (-cuda) Compile all .cu input files to .cu.cpp.ii output. --cubin (-cubin) Compile all .cu/.ptx/.gpu input files to device- only .cubin files. This step discards the host code for each .cu input file. --fatbin(-fatbin) Compile all .cu/.ptx/.gpu input files to ptx or device- only .cubin files (depending on the values specified for options '-arch' and/or '-code') and place the result into the fat binary file specified with option -o. This step discards the host code for each .cu input file. --ptx (-ptx) Compile all .cu/.gpu input files to device- only .ptx files. This step discards the host code for each of these input file. --gpu (-gpu) Compile all .cu input files to device-only .gpu files. This step discards the host code for each .cu input file. --preprocess (-E) Preprocess all .c/.cc/.cpp/.cxx/.cu input files. --generate-dependencies (-M) Generate for the one .c/.cc/.cpp/.cxx/.cu input file (more than one input file is not allowed in this mode) a dependency file that can be included in a make file. --compile (-c) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file. --device-c (-dc) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains relocatable device code. It is equivalent to '--relocatable-device-code=true --compile'. --device-w (-dw) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains executable device code. It is equivalent to '--relocatable-device-code=false --compile'. --device-link (-dlink) Link object files with relocatable device code and .ptx/.cubin/.fatbin files into an object file with executable device code, which can be passed to the host linker. --link (-link) This option specifies the default behavior: compile and link all inputs . --no-device-link (-nodlink) Skip the device link step when linking object files. --lib (-lib) Compile all inputs into object files (if necessary) and add the results to the specified output library file. --run (-run) This option compiles and links all inputs into an executable, and executes it. Or, when the input is a single executable, it is executed without any compilation or linking. This step is intended for developers who do not want to be bothered with setting the necessary cuda dll search paths (these will be set temporarily by nvcc). File and path specifications ============================ --x (-x) Explicitly specify the language for the input files, rather than letting the compiler choose a default based on the file name suffix. Allowed values for this option: 'c','c++','cu'. --output-file (-o) Specify name and location of the output file. Only a single input file is allowed when this option is present in nvcc non- linking/archiving mode. --pre-include ,... (-include) Specify header files that must be preincluded during preprocessing. --library ,... (-l) Specify libraries to be used in the linking stage without the library file extension. The libraries are searched for on the library search paths that have been specified using option '-L'. --define-macro ,... (-D) Specify macro definitions to define for use during preprocessing or compilation. --undefine-macro ,... (-U) Specify macro definitions to undefine for use during preprocessing or compilation. --include-path ,... (-I) Specify include search paths. --system-include ,... (-isystem) Specify system include search paths. --library-path ,... (-L) Specify library search paths. --output-directory (-odir) Specify the directory of the output file. This option is intended for letting the dependency generation step (option '--generate-dependencies') generate a rule that defines the target object file in the proper directory. --compiler-bindir (-ccbin) Specify the directory in which the compiler executable (Microsoft Visual Studio cl, or a gcc derivative) resides. By default, this executable is expected in the current executable search path. For a different compiler, or to specify these compilers with a different executable name, specify the path to the compiler including the executable name. --cudart(-cudart) Specify the type of CUDA runtime library to be used: static CUDA runtime library, shared/dynamic CUDA runtime library, or no CUDA runtime library. By default, the static CUDA runtime library is used. Allowed values for this option: 'none','shared','static'. Default value: 'static'. --cl-version --cl-version Specify the version of Microsoft Visual Studio installation. Note: this option is to be used in conjunction with '--use-local-env', and is ignored when '--use-local-env' is not specified. Allowed values for this option: 2008,2010,2012. --use-local-env --use-local-env Specify whether the environment is already set up for the host compiler . --libdevice-directory (-ldir) Specify the directory that contains the libdevice library files when option '--dont-use-profile' is used. Libdevice library files are located in the 'nvvm/libdevice' directory in the CUDA toolkit. Options for specifying behaviour of compiler/linker =================================================== --profile (-pg) Instrument generated code/executable for use by gprof (Linux only). --debug (-g) Generate debug information for host code. --device-debug (-G) Generate debug information for device code. --generate-line-info (-lineinfo) Generate line-number information for device code. --optimize (-O) Specify optimization level for host code. --shared(-shared) Generate a shared library during linking. Note: when other linker options are required for controlling dll generation, use option -Xlinker. --machine (-m) Specify 32 vs 64 bit architecture. Allowed values for this option: 32,64. Default value: 64. Options for passing specific phase options ========================================== These allow for passing options directly to the intended compilation phase. Using these, users have the ability to pass options to the lower level compilation tools, without the need for nvcc to know about each and every such option. --compiler-options ,... (-Xcompiler) Specify options directly to the compiler/preprocessor. --linker-options ,... (-Xlinker) Specify options directly to the host linker. --archive-options ,... (-Xarchive) Specify options directly to library manager. --cudafe-options ,... (-Xcudafe) Specify options directly to cudafe. --ptxas-options ,... (-Xptxas) Specify options directly to the ptx optimizing assembler. --nvlink-options ,... (-Xnvlink) Specify options directly to nvlink. Miscellaneous options for guiding the compiler driver ===================================================== --dont-use-profile (-noprof) Nvcc uses the nvcc.profiles file for compilation. When specifying this option, the profile file is not used. --dryrun(-dryrun) Do not execute the compilation commands generated by nvcc. Instead, list them. --verbose (-v) List the compilation commands generated by this compiler driver, but do not suppress their execution. --keep (-keep) Keep all intermediate files that are generated during internal compilation steps. --keep-dir (-keep-dir) Keep all intermediate files that are generated during internal compilation steps in this directory. --save-temps (-save-temps) This option is an alias of '--keep'. --clean-targets (-clean) This option reverses the behaviour of nvcc. When specified, none of the compilation phases will be executed. Instead, all of the non- temporary files that nvcc would otherwise create will be deleted. --run-args ,... (-run-args) Used in combination with option -R, to specify command line arguments for the executable. --input-drive-prefix (-idp) On Windows platforms, all command line arguments that refer to file names must be converted to Windows native format before they are passed to pure Windows executables. This option specifies how the 'current' development environment represents absolute paths. Use '-idp /cygwin/' for CygWin build environments, and '-idp /' for Mingw. --dependency-drive-prefix (-ddp) On Windows platforms, when generating dependency files (option -M), all file names must be converted to whatever the used instance of 'make' will recognize. Some instances of 'make' have trouble with the colon in absolute paths in native Windows format, which depends on the environment in which this 'make' instance has been compiled. Use '-ddp /cygwin/' for a CygWin make, and '-ddp /' for Mingw. Or leave these file names in native Windows format by specifying nothing. --dependency-target-name (-MT) Specify the target name of the generated rule when generating a dependency file (option -M). --drive-prefix (-dp) Specifies as both input-drive-prefix and dependency-drive-prefix. --no-align-double --no-align-double Specifies that -malign-double should not be passed as a compiler argument on 32-bit platforms. WARNING: this makes the ABI incompatible with the cuda's kernel ABI for certain 64-bit types. Options for steering GPU code generation ======================================== --gpu-architecture (-arch) Specify the name of the class of nVidia GPU architectures for which the cuda input files must be compiled. With the exception as described for the shorthand below, the architecture specified with this option must be a virtual architecture (such as compute_10), and it will be the assumed architecture during the cicc compilation stage. This option will cause no code to be generated (that is the role of nvcc option '--gpu-code', see below); rather, its purpose is to steer the cicc stage, influencing the architecture of the generated ptx intermediate. For convenience in case of simple nvcc compilations the following shorthand is supported: if no value for option '--gpu-code' is specified, then the value of this option defaults to the value of '--gpu-architecture'. In this situation, as only exception to the description above, the value specified for '--gpu-architecture' may be a 'real' architecture (such as a sm_13), in which case nvcc uses the specified real architecture and its closest virtual architecture as effective architecture values. For example, 'nvcc -arch=sm_13' is equivalent to 'nvcc -arch=compute_13 -code=sm_13,compute_13'. Allowed values for this option: 'compute_10','compute_11','compute_12', 'compute_13','compute_20','compute_30','compute_35','sm_10','sm_11', 'sm_12','sm_13','sm_20','sm_21','sm_30','sm_35'. --gpu-code ,... (-code) Specify the names of nVidia gpus to generate code for. nvcc will embed a compiled code image in the resulting executable for each specified 'code' architecture. This code image will be a true binary load image for each 'real' architecture (such as a sm_13), and ptx intermediate code for each virtual architecture (such as compute_10). During runtime, in case no better binary load image is found, and provided that the ptx architecture is compatible with the 'current' GPU, such embedded ptx code will be dynamically translated for this current GPU by the cuda runtime system. Architectures specified for this option can be virtual as well as real, but each of these 'code' architectures must be compatible with the architecture specified with option '--gpu-architecture'. For instance, 'arch'=compute_13 is not compatible with 'code'=sm_10, because the generated ptx code will assume the availability of compute_13 features that are not present on sm_10. Allowed values for this option: 'compute_10','compute_11','compute_12', 'compute_13','compute_20','compute_30','compute_35','sm_10','sm_11', 'sm_12','sm_13','sm_20','sm_21','sm_30','sm_35'. --generate-code (-gencode) This option provides a generalization of the '--gpu-architecture= --gpu-code=code,...' option combination for specifying nvcc behavior with respect to code generation. Where use of the previous options generates different code for a fixed virtual architecture, option '--generate-code' allows multiple cicc invocations, iterating over different virtual architectures. In fact, '--gpu-architecture= --gpu-code=,...' is equivalent to '--generate-code arch=,code=,...'. '--generate-code' options may be repeated for different virtual architectures. Allowed keywords for this option: 'arch','code'. --maxrregcount (-maxrregcount) Specify the maximum amount of registers that GPU functions can use. Until a function- specific limit, a higher value will generally increase the performance of individual GPU threads that execute this function. However, because thread registers are allocated from a global register pool on each GPU, a higher value of this option will also reduce the maximum thread block size, thereby reducing the amount of thread parallelism. Hence, a good maxrregcount value is the result of a trade-off. If this option is not specified, then no maximum is assumed. Value less than the minimum registers required by ABI will be bumped up by the compiler to ABI minimum limit. --ftz [true,false] (-ftz) When performing single-precision floating-point operations, flush denormal values to zero or preserve denormal values. -use_fast_math implies --ftz=true. Default value: 0. --prec-div [true,false] (-prec-div) For single-precision floating-point division and reciprocals, use IEEE round-to-nearest mode or use a faster approximation. -use_fast_math implies --prec-div=false. Default value: 1. --prec-sqrt [true,false] (-prec-sqrt) For single-precision floating-point square root, use IEEE round-to-nearest mode or use a faster approximation. -use_fast_math implies --prec-sqrt=false. Default value: 1. --fmad [true,false] (-fmad) Enables (disables) the contraction of floating-point multiplies and adds/subtracts into floating-point multiply-add operations (FMAD, FFMA, or DFMA). This option is supported only when '--gpu-architecture' is set with compute_20, sm_20, or higher. For other architecture classes, the contraction is always enabled. -use_fast_math implies --fmad=true. Default value: 1. --relocatable-device-code [true,false] (-rdc) Enable (disable) the generation of relocatable device code. If disabled, executable device code is generated. Default value: 0. Options for steering cuda compilation ===================================== --target-cpu-architecture (-target-cpu-arch) Specify the name of the class of CPU architecture for which the input files must be compiled. Allowed values for this option: 'ARM','x86'. Default value: 'x86'. --use_fast_math (-use_fast_math) Make use of fast math library. -use_fast_math implies -ftz=true -prec-div=false -prec-sqrt=false. --entries entry,... (-e) In case of compilation of ptx or gpu files to cubin: specify the global entry functions for which code must be generated. By default, code will be generated for all entry functions. Generic tool options ==================== --disable-warnings (-w) Inhibit all warning messages. --source-in-ptx (-src-in-ptx) Interleave source in ptx. --restrict (-restrict) Programmer assertion that all kernel pointer parameters are restrict pointers. --Werror,... (-Werror) Make warnings of the specified kinds into errors. The following is the list of warning kinds accepted by this option: cross-execution-space-call Be more strict about unsupported cross execution space calls. The compiler will generate an error instead of a warning for a call from a __host__ __device__ to a __host__ function. Allowed values for this option: 'cross-execution-space-call'. --help (-h) Print this help information on this tool. --version (-V) Print version information on this tool. --options-file ,... (-optf) Include command line options from specified file. Executing: nvcc --help stdout: Usage : nvcc [options] Options for specifying the compilation phase ============================================ More exactly, this option specifies up to which stage the input files must be compiled, according to the following compilation trajectories for different input file types: .c/.cc/.cpp/.cxx : preprocess, compile, link .o : link .i/.ii : compile, link .cu : preprocess, cuda frontend, ptxassemble, merge with host C code, compile, link .gpu : cicc compile into cubin .ptx : ptxassemble into cubin. --cuda (-cuda) Compile all .cu input files to .cu.cpp.ii output. --cubin (-cubin) Compile all .cu/.ptx/.gpu input files to device- only .cubin files. This step discards the host code for each .cu input file. --fatbin(-fatbin) Compile all .cu/.ptx/.gpu input files to ptx or device- only .cubin files (depending on the values specified for options '-arch' and/or '-code') and place the result into the fat binary file specified with option -o. This step discards the host code for each .cu input file. --ptx (-ptx) Compile all .cu/.gpu input files to device- only .ptx files. This step discards the host code for each of these input file. --gpu (-gpu) Compile all .cu input files to device-only .gpu files. This step discards the host code for each .cu input file. --preprocess (-E) Preprocess all .c/.cc/.cpp/.cxx/.cu input files. --generate-dependencies (-M) Generate for the one .c/.cc/.cpp/.cxx/.cu input file (more than one input file is not allowed in this mode) a dependency file that can be included in a make file. --compile (-c) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file. --device-c (-dc) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains relocatable device code. It is equivalent to '--relocatable-device-code=true --compile'. --device-w (-dw) Compile each .c/.cc/.cpp/.cxx/.cu input file into an object file that contains executable device code. It is equivalent to '--relocatable-device-code=false --compile'. --device-link (-dlink) Link object files with relocatable device code and .ptx/.cubin/.fatbin files into an object file with executable device code, which can be passed to the host linker. --link (-link) This option specifies the default behavior: compile and link all inputs . --no-device-link (-nodlink) Skip the device link step when linking object files. --lib (-lib) Compile all inputs into object files (if necessary) and add the results to the specified output library file. --run (-run) This option compiles and links all inputs into an executable, and executes it. Or, when the input is a single executable, it is executed without any compilation or linking. This step is intended for developers who do not want to be bothered with setting the necessary cuda dll search paths (these will be set temporarily by nvcc). File and path specifications ============================ --x (-x) Explicitly specify the language for the input files, rather than letting the compiler choose a default based on the file name suffix. Allowed values for this option: 'c','c++','cu'. --output-file (-o) Specify name and location of the output file. Only a single input file is allowed when this option is present in nvcc non- linking/archiving mode. --pre-include ,... (-include) Specify header files that must be preincluded during preprocessing. --library ,... (-l) Specify libraries to be used in the linking stage without the library file extension. The libraries are searched for on the library search paths that have been specified using option '-L'. --define-macro ,... (-D) Specify macro definitions to define for use during preprocessing or compilation. --undefine-macro ,... (-U) Specify macro definitions to undefine for use during preprocessing or compilation. --include-path ,... (-I) Specify include search paths. --system-include ,... (-isystem) Specify system include search paths. --library-path ,... (-L) Specify library search paths. --output-directory (-odir) Specify the directory of the output file. This option is intended for letting the dependency generation step (option '--generate-dependencies') generate a rule that defines the target object file in the proper directory. --compiler-bindir (-ccbin) Specify the directory in which the compiler executable (Microsoft Visual Studio cl, or a gcc derivative) resides. By default, this executable is expected in the current executable search path. For a different compiler, or to specify these compilers with a different executable name, specify the path to the compiler including the executable name. --cudart(-cudart) Specify the type of CUDA runtime library to be used: static CUDA runtime library, shared/dynamic CUDA runtime library, or no CUDA runtime library. By default, the static CUDA runtime library is used. Allowed values for this option: 'none','shared','static'. Default value: 'static'. --cl-version --cl-version Specify the version of Microsoft Visual Studio installation. Note: this option is to be used in conjunction with '--use-local-env', and is ignored when '--use-local-env' is not specified. Allowed values for this option: 2008,2010,2012. --use-local-env --use-local-env Specify whether the environment is already set up for the host compiler . --libdevice-directory (-ldir) Specify the directory that contains the libdevice library files when option '--dont-use-profile' is used. Libdevice library files are located in the 'nvvm/libdevice' directory in the CUDA toolkit. Options for specifying behaviour of compiler/linker =================================================== --profile (-pg) Instrument generated code/executable for use by gprof (Linux only). --debug (-g) Generate debug information for host code. --device-debug (-G) Generate debug information for device code. --generate-line-info (-lineinfo) Generate line-number information for device code. --optimize (-O) Specify optimization level for host code. --shared(-shared) Generate a shared library during linking. Note: when other linker options are required for controlling dll generation, use option -Xlinker. --machine (-m) Specify 32 vs 64 bit architecture. Allowed values for this option: 32,64. Default value: 64. Options for passing specific phase options ========================================== These allow for passing options directly to the intended compilation phase. Using these, users have the ability to pass options to the lower level compilation tools, without the need for nvcc to know about each and every such option. --compiler-options ,... (-Xcompiler) Specify options directly to the compiler/preprocessor. --linker-options ,... (-Xlinker) Specify options directly to the host linker. --archive-options ,... (-Xarchive) Specify options directly to library manager. --cudafe-options ,... (-Xcudafe) Specify options directly to cudafe. --ptxas-options ,... (-Xptxas) Specify options directly to the ptx optimizing assembler. --nvlink-options ,... (-Xnvlink) Specify options directly to nvlink. Miscellaneous options for guiding the compiler driver ===================================================== --dont-use-profile (-noprof) Nvcc uses the nvcc.profiles file for compilation. When specifying this option, the profile file is not used. --dryrun(-dryrun) Do not execute the compilation commands generated by nvcc. Instead, list them. --verbose (-v) List the compilation commands generated by this compiler driver, but do not suppress their execution. --keep (-keep) Keep all intermediate files that are generated during internal compilation steps. --keep-dir (-keep-dir) Keep all intermediate files that are generated during internal compilation steps in this directory. --save-temps (-save-temps) This option is an alias of '--keep'. --clean-targets (-clean) This option reverses the behaviour of nvcc. When specified, none of the compilation phases will be executed. Instead, all of the non- temporary files that nvcc would otherwise create will be deleted. --run-args ,... (-run-args) Used in combination with option -R, to specify command line arguments for the executable. --input-drive-prefix (-idp) On Windows platforms, all command line arguments that refer to file names must be converted to Windows native format before they are passed to pure Windows executables. This option specifies how the 'current' development environment represents absolute paths. Use '-idp /cygwin/' for CygWin build environments, and '-idp /' for Mingw. --dependency-drive-prefix (-ddp) On Windows platforms, when generating dependency files (option -M), all file names must be converted to whatever the used instance of 'make' will recognize. Some instances of 'make' have trouble with the colon in absolute paths in native Windows format, which depends on the environment in which this 'make' instance has been compiled. Use '-ddp /cygwin/' for a CygWin make, and '-ddp /' for Mingw. Or leave these file names in native Windows format by specifying nothing. --dependency-target-name (-MT) Specify the target name of the generated rule when generating a dependency file (option -M). --drive-prefix (-dp) Specifies as both input-drive-prefix and dependency-drive-prefix. --no-align-double --no-align-double Specifies that -malign-double should not be passed as a compiler argument on 32-bit platforms. WARNING: this makes the ABI incompatible with the cuda's kernel ABI for certain 64-bit types. Options for steering GPU code generation ======================================== --gpu-architecture (-arch) Specify the name of the class of nVidia GPU architectures for which the cuda input files must be compiled. With the exception as described for the shorthand below, the architecture specified with this option must be a virtual architecture (such as compute_10), and it will be the assumed architecture during the cicc compilation stage. This option will cause no code to be generated (that is the role of nvcc option '--gpu-code', see below); rather, its purpose is to steer the cicc stage, influencing the architecture of the generated ptx intermediate. For convenience in case of simple nvcc compilations the following shorthand is supported: if no value for option '--gpu-code' is specified, then the value of this option defaults to the value of '--gpu-architecture'. In this situation, as only exception to the description above, the value specified for '--gpu-architecture' may be a 'real' architecture (such as a sm_13), in which case nvcc uses the specified real architecture and its closest virtual architecture as effective architecture values. For example, 'nvcc -arch=sm_13' is equivalent to 'nvcc -arch=compute_13 -code=sm_13,compute_13'. Allowed values for this option: 'compute_10','compute_11','compute_12', 'compute_13','compute_20','compute_30','compute_35','sm_10','sm_11', 'sm_12','sm_13','sm_20','sm_21','sm_30','sm_35'. --gpu-code ,... (-code) Specify the names of nVidia gpus to generate code for. nvcc will embed a compiled code image in the resulting executable for each specified 'code' architecture. This code image will be a true binary load image for each 'real' architecture (such as a sm_13), and ptx intermediate code for each virtual architecture (such as compute_10). During runtime, in case no better binary load image is found, and provided that the ptx architecture is compatible with the 'current' GPU, such embedded ptx code will be dynamically translated for this current GPU by the cuda runtime system. Architectures specified for this option can be virtual as well as real, but each of these 'code' architectures must be compatible with the architecture specified with option '--gpu-architecture'. For instance, 'arch'=compute_13 is not compatible with 'code'=sm_10, because the generated ptx code will assume the availability of compute_13 features that are not present on sm_10. Allowed values for this option: 'compute_10','compute_11','compute_12', 'compute_13','compute_20','compute_30','compute_35','sm_10','sm_11', 'sm_12','sm_13','sm_20','sm_21','sm_30','sm_35'. --generate-code (-gencode) This option provides a generalization of the '--gpu-architecture= --gpu-code=code,...' option combination for specifying nvcc behavior with respect to code generation. Where use of the previous options generates different code for a fixed virtual architecture, option '--generate-code' allows multiple cicc invocations, iterating over different virtual architectures. In fact, '--gpu-architecture= --gpu-code=,...' is equivalent to '--generate-code arch=,code=,...'. '--generate-code' options may be repeated for different virtual architectures. Allowed keywords for this option: 'arch','code'. --maxrregcount (-maxrregcount) Specify the maximum amount of registers that GPU functions can use. Until a function- specific limit, a higher value will generally increase the performance of individual GPU threads that execute this function. However, because thread registers are allocated from a global register pool on each GPU, a higher value of this option will also reduce the maximum thread block size, thereby reducing the amount of thread parallelism. Hence, a good maxrregcount value is the result of a trade-off. If this option is not specified, then no maximum is assumed. Value less than the minimum registers required by ABI will be bumped up by the compiler to ABI minimum limit. --ftz [true,false] (-ftz) When performing single-precision floating-point operations, flush denormal values to zero or preserve denormal values. -use_fast_math implies --ftz=true. Default value: 0. --prec-div [true,false] (-prec-div) For single-precision floating-point division and reciprocals, use IEEE round-to-nearest mode or use a faster approximation. -use_fast_math implies --prec-div=false. Default value: 1. --prec-sqrt [true,false] (-prec-sqrt) For single-precision floating-point square root, use IEEE round-to-nearest mode or use a faster approximation. -use_fast_math implies --prec-sqrt=false. Default value: 1. --fmad [true,false] (-fmad) Enables (disables) the contraction of floating-point multiplies and adds/subtracts into floating-point multiply-add operations (FMAD, FFMA, or DFMA). This option is supported only when '--gpu-architecture' is set with compute_20, sm_20, or higher. For other architecture classes, the contraction is always enabled. -use_fast_math implies --fmad=true. Default value: 1. --relocatable-device-code [true,false] (-rdc) Enable (disable) the generation of relocatable device code. If disabled, executable device code is generated. Default value: 0. Options for steering cuda compilation ===================================== --target-cpu-architecture (-target-cpu-arch) Specify the name of the class of CPU architecture for which the input files must be compiled. Allowed values for this option: 'ARM','x86'. Default value: 'x86'. --use_fast_math (-use_fast_math) Make use of fast math library. -use_fast_math implies -ftz=true -prec-div=false -prec-sqrt=false. --entries entry,... (-e) In case of compilation of ptx or gpu files to cubin: specify the global entry functions for which code must be generated. By default, code will be generated for all entry functions. Generic tool options ==================== --disable-warnings (-w) Inhibit all warning messages. --source-in-ptx (-src-in-ptx) Interleave source in ptx. --restrict (-restrict) Programmer assertion that all kernel pointer parameters are restrict pointers. --Werror,... (-Werror) Make warnings of the specified kinds into errors. The following is the list of warning kinds accepted by this option: cross-execution-space-call Be more strict about unsupported cross execution space calls. The compiler will generate an error instead of a warning for a call from a __host__ __device__ to a __host__ function. Allowed values for this option: 'cross-execution-space-call'. --help (-h) Print this help information on this tool. --version (-V) Print version information on this tool. --options-file ,... (-optf) Include command line options from specified file. Trying CUDA compiler flag -O Executing: nvcc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -O /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added CUDA compiler flag -O Popping language CUDA ================================================================================ TEST configureDebugging from PETSc.utilities.debugging(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/PETSc/utilities/debugging.py:25) TESTING: configureDebugging from PETSc.utilities.debugging(config/PETSc/utilities/debugging.py:25) Defined "USE_ERRORCHECKING" to "1" =============================================================================== WARNING! Compiling PETSc with no debugging, this should only be done for timing and production runs. All development should be done when configured using --with-debugging=1 =============================================================================== ================================================================================ TEST checkRestrict from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:136) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:136) Check for the C/CXX restrict keyword Pushing language C All intermediate test results are stored in /tmp/scratch/petsc-5_JlCR/config.compilers Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } compilers: Set C restrict keyword to restrict Defined "C_RESTRICT" to "restrict" Popping language C ================================================================================ TEST checkCFormatting from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:309) TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:309) Activate format string checking if using the GNU compilers ================================================================================ TEST checkCStaticInline from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:107) TESTING: checkCStaticInline from config.compilers(config/BuildSystem/config/compilers.py:107) Check for C keyword: static inline Pushing language C Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.compilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set C StaticInline keyword to static inline Popping language C Defined "C_STATIC_INLINE" to "static inline" ================================================================================ TEST checkDynamicLoadFlag from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:320) TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:320) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.compilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LAZY); ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LAZY" to "1" Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.compilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_NOW); ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_NOW" to "1" Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.compilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LOCAL); ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LOCAL" to "1" Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.compilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_GLOBAL); ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_GLOBAL" to "1" ================================================================================ TEST checkDependencyGenerationFlag from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:1327) TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1327) Check if -MMD works for dependency generation, and add it if it does Pushing language C Trying C compiler flag -MMD -MP Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -MMD -MP /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 256 stderr: pgcc-Error-Unknown switch: -MP Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -MMD -MP due to nonzero status from link Rejecting compiler flag -MMD -MP due to pgcc-Error-Unknown switch: -MP PETSc Error: No output file produced Rejected C compiler flag -MMD -MP Trying C compiler flag -MMD Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -MMD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejected C compiler flag -MMD because no dependency file (/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.d) was generated Trying C compiler flag -xMMD Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -xMMD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 256 stderr: pgcc-Error-Unknown switch: -xMMD Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -xMMD due to nonzero status from link Rejecting compiler flag -xMMD due to pgcc-Error-Unknown switch: -xMMD PETSc Error: No output file produced Rejected C compiler flag -xMMD Trying C compiler flag -qmakedep=gcc Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -qmakedep=gcc /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 256 stderr: pgcc-Error-Unknown switch: -qmakedep=gcc Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -qmakedep=gcc due to nonzero status from link Rejecting compiler flag -qmakedep=gcc due to pgcc-Error-Unknown switch: -qmakedep=gcc PETSc Error: No output file produced Rejected C compiler flag -qmakedep=gcc Trying C compiler flag -MD Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -MD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejected C compiler flag -MD because no dependency file (/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.d) was generated Popping language C Pushing language Cxx Trying Cxx compiler flag -MMD -MP Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -MMD -MP /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: pgCC-Error-Unknown switch: -MP Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -MMD -MP due to nonzero status from link Rejecting compiler flag -MMD -MP due to pgCC-Error-Unknown switch: -MP PETSc Error: No output file produced Rejected Cxx compiler flag -MMD -MP Trying Cxx compiler flag -MMD Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -MMD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejected Cxx compiler flag -MMD because no dependency file (/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.d) was generated Trying Cxx compiler flag -xMMD Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -xMMD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: pgCC-Error-Unknown switch: -xMMD Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -xMMD due to nonzero status from link Rejecting compiler flag -xMMD due to pgCC-Error-Unknown switch: -xMMD PETSc Error: No output file produced Rejected Cxx compiler flag -xMMD Trying Cxx compiler flag -qmakedep=gcc Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -qmakedep=gcc /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: pgCC-Error-Unknown switch: -qmakedep=gcc Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -qmakedep=gcc due to nonzero status from link Rejecting compiler flag -qmakedep=gcc due to pgCC-Error-Unknown switch: -qmakedep=gcc PETSc Error: No output file produced Rejected Cxx compiler flag -qmakedep=gcc Trying Cxx compiler flag -MD Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -MD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc stdout: conftest.o : /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc \ /opt/pgi/14.2.0/linux86-64/14.2/include/omp.h \ /tmp/scratch/petsc-5_JlCR/config.setCompilers/confdefs.h \ /tmp/scratch/petsc-5_JlCR/config.setCompilers/conffix.h Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejected Cxx compiler flag -MD because no dependency file (/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.d) was generated Popping language Cxx Pushing language FC Trying FC compiler flag -MMD -MP Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -MMD -MP /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: pgf90-Error-Unknown switch: -MMD pgf90-Error-Unknown switch: -MP Source: program main end Rejecting compiler flag -MMD -MP due to nonzero status from link Rejecting compiler flag -MMD -MP due to pgf90-Error-Unknown switch: -MMD pgf90-Error-Unknown switch: -MP PETSc Error: No output file produced Rejected FC compiler flag -MMD -MP Trying FC compiler flag -MMD Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -MMD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: pgf90-Error-Unknown switch: -MMD Source: program main end Rejecting compiler flag -MMD due to nonzero status from link Rejecting compiler flag -MMD due to pgf90-Error-Unknown switch: -MMD PETSc Error: No output file produced Rejected FC compiler flag -MMD Trying FC compiler flag -xMMD Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -xMMD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: pgf90-Error-Unknown switch: -xMMD Source: program main end Rejecting compiler flag -xMMD due to nonzero status from link Rejecting compiler flag -xMMD due to pgf90-Error-Unknown switch: -xMMD PETSc Error: No output file produced Rejected FC compiler flag -xMMD Trying FC compiler flag -qmakedep=gcc Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -qmakedep=gcc /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: pgf90-Error-Unknown switch: -qmakedep=gcc Source: program main end Rejecting compiler flag -qmakedep=gcc due to nonzero status from link Rejecting compiler flag -qmakedep=gcc due to pgf90-Error-Unknown switch: -qmakedep=gcc PETSc Error: No output file produced Rejected FC compiler flag -qmakedep=gcc Trying FC compiler flag -MD Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -MD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: pgf90-Error-Unknown switch: -MD Source: program main end Rejecting compiler flag -MD due to nonzero status from link Rejecting compiler flag -MD due to pgf90-Error-Unknown switch: -MD PETSc Error: No output file produced Rejected FC compiler flag -MD Popping language FC Pushing language CUDA Trying CUDA compiler flag -MMD -MP Executing: nvcc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -O -MMD -MP /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu Possible ERROR while running compiler: exit code 65280 stderr: nvcc fatal : Unknown option 'MMD' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -MMD -MP due to nonzero status from link Rejecting compiler flag -MMD -MP due to nvcc fatal : Unknown option 'MMD' PETSc Error: No output file produced Rejected CUDA compiler flag -MMD -MP Trying CUDA compiler flag -MMD Executing: nvcc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -O -MMD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu Possible ERROR while running compiler: exit code 65280 stderr: nvcc fatal : Unknown option 'MMD' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -MMD due to nonzero status from link Rejecting compiler flag -MMD due to nvcc fatal : Unknown option 'MMD' PETSc Error: No output file produced Rejected CUDA compiler flag -MMD Trying CUDA compiler flag -xMMD Executing: nvcc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -O -xMMD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu Possible ERROR while running compiler: exit code 65280 stderr: nvcc fatal : Unknown option 'xMMD' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -xMMD due to nonzero status from link Rejecting compiler flag -xMMD due to nvcc fatal : Unknown option 'xMMD' PETSc Error: No output file produced Rejected CUDA compiler flag -xMMD Trying CUDA compiler flag -qmakedep=gcc Executing: nvcc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -O -qmakedep=gcc /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu Possible ERROR while running compiler: exit code 65280 stderr: nvcc fatal : Unknown option 'qmakedep' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -qmakedep=gcc due to nonzero status from link Rejecting compiler flag -qmakedep=gcc due to nvcc fatal : Unknown option 'qmakedep' PETSc Error: No output file produced Rejected CUDA compiler flag -qmakedep=gcc Trying CUDA compiler flag -MD Executing: nvcc -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -O -MD /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cu Possible ERROR while running compiler: exit code 65280 stderr: nvcc fatal : Unknown option 'MD' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -MD due to nonzero status from link Rejecting compiler flag -MD due to nvcc fatal : Unknown option 'MD' PETSc Error: No output file produced Rejected CUDA compiler flag -MD Popping language CUDA ================================================================================ TEST checkRestrict from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:136) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:136) Check for the C/CXX restrict keyword Pushing language Cxx Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc Possible ERROR while running compiler: exit code 512 stderr: "/tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc", line 5: error: expected a ";" float * restrict x;; ^ "/tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc", line 5: warning: variable "restrict" was declared but never referenced float * restrict x;; ^ 1 error detected in the compilation of "/tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc". Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.compilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc Possible ERROR while running compiler: stderr: "/tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc", line 5: warning: variable "x" was declared but never referenced float * __restrict__ x;; ^ Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict__ x;; return 0; } compilers: Set Cxx restrict keyword to __restrict__ Defined "CXX_RESTRICT" to " __restrict__" Popping language Cxx ================================================================================ TEST checkCxxNamespace from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:358) TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:358) Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE Pushing language Cxx Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.compilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" namespace petsc {int dummy;} int main() { ; return 0; } Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.compilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" template struct a {}; namespace trouble{ template struct a : public ::a {}; } trouble::a uugh; int main() { ; return 0; } Popping language Cxx compilers: C++ has namespaces Defined "HAVE_CXX_NAMESPACE" to "1" ================================================================================ TEST checkCxxOptionalExtensions from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:333) TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:333) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Pushing language Cxx Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Added Cxx compiler flag Popping language Cxx ================================================================================ TEST checkCxxStaticInline from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:121) TESTING: checkCxxStaticInline from config.compilers(config/BuildSystem/config/compilers.py:121) Check for C++ keyword: static inline Pushing language Cxx Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set Cxx StaticInline keyword to static inline Popping language Cxx Defined "CXX_STATIC_INLINE" to "static inline" ================================================================================ TEST checkCxx11 from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:373) TESTING: checkCxx11 from config.compilers(config/BuildSystem/config/compilers.py:373) Determine the option needed to support the C++11 dialect We auto-detect C++11 if the compiler supports it without options, otherwise we require with-cxx-dialect=C++11 to try adding flags to support it. Pushing language Cxx Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 512 stderr: "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc", line 4: catastrophic error: cannot open source file "random" #include ^ 1 catastrophic error detected in the compilation of "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc". Compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include template constexpr T Cubed( T x ) { return x*x*x; } int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag due to nonzero status from link Rejecting compiler flag due to "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc", line 4: catastrophic error: cannot open source file "random" #include ^ 1 catastrophic error detected in the compilation of "/tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.cc". Compilation terminated. PETSc Error: No output file produced Popping language Cxx ================================================================================ TEST checkFortranTypeSizes from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:571) TESTING: checkFortranTypeSizes from config.compilers(config/BuildSystem/config/compilers.py:571) Check whether real*8 is supported and suggest flags which will allow support Pushing language FC Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.F Successful compile: Source: program main real*8 variable end Popping language FC ================================================================================ TEST checkFortranNameMangling from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:630) TESTING: checkFortranNameMangling from config.compilers(config/BuildSystem/config/compilers.py:630) Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS, or HAVE_FORTRAN_STDCALL Testing Fortran mangling type underscore with code void d1chk_(void){return;} Pushing language C Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} Popping language C Pushing language FC Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.compilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: ftn -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o /tmp/scratch/petsc-5_JlCR/config.compilers/confc.o -ldl Popping language FC compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" ================================================================================ TEST checkFortranNameManglingDouble from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:667) TESTING: checkFortranNameManglingDouble from config.compilers(config/BuildSystem/config/compilers.py:667) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary Pushing language C Executing: cc -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.libraries -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} Popping language C Pushing language FC Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -I/tmp/scratch/petsc-5_JlCR/config.compilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.F Successful compile: Source: program main call d1_chk() end Pushing language FC Popping language FC Executing: ftn -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o /tmp/scratch/petsc-5_JlCR/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 512 stderr: /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o: In function `main': /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.F:2: undefined reference to `d1_chk_' /usr/bin/ld: link errors found, deleting executable `/tmp/scratch/petsc-5_JlCR/config.compilers/conftest' Popping language FC ================================================================================ TEST checkFortranPreprocessor from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:677) TESTING: checkFortranPreprocessor from config.compilers(config/BuildSystem/config/compilers.py:677) Determine if Fortran handles preprocessing properly Pushing language FC Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Added FC compiler flag Popping language FC compilers: Fortran uses CPP preprocessor ================================================================================ TEST checkFortranDefineCompilerOption from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:698) TESTING: checkFortranDefineCompilerOption from config.compilers(config/BuildSystem/config/compilers.py:698) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Pushing language FC Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast -DTesting /tmp/scratch/petsc-5_JlCR/config.setCompilers/conftest.F Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Defined make macro "FC_DEFINE_FLAG" to "-D" Popping language FC compilers: Fortran uses -D for defining macro ================================================================================ TEST checkFortranLinkingCxx from config.compilers(/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py:1061) TESTING: checkFortranLinkingCxx from config.compilers(config/BuildSystem/config/compilers.py:1061) Check that Fortran can be linked against C++ Pushing language Cxx Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} Popping language Cxx Pushing language Cxx Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} Popping language Cxx Pushing language FC Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: ftn -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o /tmp/scratch/petsc-5_JlCR/config.compilers/cxxobj.o /tmp/scratch/petsc-5_JlCR/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 512 stderr: /tmp/scratch/petsc-5_JlCR/config.compilers/cxxobj.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' /tmp/scratch/petsc-5_JlCR/config.compilers/confc.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' /usr/bin/ld: link errors found, deleting executable `/tmp/scratch/petsc-5_JlCR/config.compilers/conftest' Popping language FC Pushing language Cxx Executing: CC -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} Popping language Cxx Pushing language FC Executing: ftn -c -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o -I/tmp/scratch/petsc-5_JlCR/config.compilers -I/tmp/scratch/petsc-5_JlCR/config.setCompilers -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: ftn -o /tmp/scratch/petsc-5_JlCR/config.compilers/conftest -mp -fast /tmp/scratch/petsc-5_JlCR/config.compilers/conftest.o /tmp/scratch/petsc-5_JlCR/config.compilers/cxxobj.o /tmp/scratch/petsc-5_JlCR/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 512 stderr: /tmp/scratch/petsc-5_JlCR/config.compilers/cxxobj.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' /tmp/scratch/petsc-5_JlCR/config.compilers/confc.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' /usr/bin/ld: link errors found, deleting executable `/tmp/scratch/petsc-5_JlCR/config.compilers/conftest' Popping language FC **** Configure header /tmp/scratch/petsc-5_JlCR/confdefs.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #ifndef PETSC_HAVE_DLFCN_H #define PETSC_HAVE_DLFCN_H 1 #endif #ifndef PETSC_HAVE_RTLD_NOW #define PETSC_HAVE_RTLD_NOW 1 #endif #ifndef PETSC_HAVE_RTLD_LOCAL #define PETSC_HAVE_RTLD_LOCAL 1 #endif #ifndef PETSC_HAVE_RTLD_LAZY #define PETSC_HAVE_RTLD_LAZY 1 #endif #ifndef PETSC_C_STATIC_INLINE #define PETSC_C_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_FORTRAN_UNDERSCORE #define PETSC_HAVE_FORTRAN_UNDERSCORE 1 #endif #ifndef PETSC_HAVE_CXX_NAMESPACE #define PETSC_HAVE_CXX_NAMESPACE 1 #endif #ifndef PETSC_HAVE_RTLD_GLOBAL #define PETSC_HAVE_RTLD_GLOBAL 1 #endif #ifndef PETSC_C_RESTRICT #define PETSC_C_RESTRICT restrict #endif #ifndef PETSC_CXX_RESTRICT #define PETSC_CXX_RESTRICT __restrict__ #endif #ifndef PETSC_CXX_STATIC_INLINE #define PETSC_CXX_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_LIBDL #define PETSC_HAVE_LIBDL 1 #endif #ifndef PETSC_ARCH #define PETSC_ARCH "arch-titan-opt64idx-pgi" #endif #ifndef PETSC_CLANGUAGE_C #define PETSC_CLANGUAGE_C 1 #endif #ifndef PETSC_USE_ERRORCHECKING #define PETSC_USE_ERRORCHECKING 1 #endif #ifndef PETSC_VERSION_DATE_GIT #define PETSC_VERSION_DATE_GIT "2015-02-27 12:25:16 -0600" #endif #ifndef PETSC_VERSION_BRANCH_GIT #define PETSC_VERSION_BRANCH_GIT "maint" #endif #ifndef PETSC_VERSION_GIT #define PETSC_VERSION_GIT "v3.5.3-37-g7bcbaff" #endif #ifndef PETSC_USE_GDB_DEBUGGER #define PETSC_USE_GDB_DEBUGGER 1 #endif #ifndef PETSC_HAVE_DYNAMIC_LIBRARIES #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #endif #ifndef PETSC_HAVE_SHARED_LIBRARIES #define PETSC_HAVE_SHARED_LIBRARIES 1 #endif #endif **** C specific Configure header /tmp/scratch/petsc-5_JlCR/conffix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Fortran could not successfully link C++ objects ******************************************************************************* File "/lustre/atlas2/env003/scratch/adams/petsc_maint/config/configure.py", line 272, in petsc_configure framework.configure(out = sys.stdout) File "/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/framework.py", line 941, in configure child.configure() File "/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py", line 1404, in configure self.executeTest(self.checkFortranLinkingCxx) File "/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/base.py", line 126, in executeTest ret = test(*args,**kargs) File "/lustre/atlas2/env003/scratch/adams/petsc_maint/config/BuildSystem/config/compilers.py", line 1093, in checkFortranLinkingCxx raise RuntimeError('Fortran could not successfully link C++ objects') ================================================================================ Finishing Configure Run at Wed Mar 11 17:44:31 2015 ================================================================================