Hi All
I have an old nvidia graphics card that self-identifies as a "GeForce GT 330".
The opencl build fails (see attached
log). However, if I modify src/common/nvidia_gpus.h line 168 to read:
"GeForce GT 330","1.0",
Instead of:
"GeForce GT 330*","1.0",
Then the build works. Does this imply that the * doesn't do what I'd expect it
to do (match 0 or more characters)?
Thanks,
Rob
rwh@KWIAT22:~$ darktable -d opencl
[opencl_init] opencl related configuration options:
[opencl_init]
[opencl_init] opencl: 1
[opencl_init] opencl_library: ''
[opencl_init] opencl_memory_requirement: 768
[opencl_init] opencl_memory_headroom: 300
[opencl_init] opencl_device_priority: '*/!0,*/*/*'
[opencl_init] opencl_size_roundup: 16
[opencl_init] opencl_async_pixelpipe: 0
[opencl_init] opencl_synch_cache: 0
[opencl_init] opencl_number_event_handles: 25
[opencl_init] opencl_micro_nap: 1000
[opencl_init] opencl_use_pinned_memory: 0
[opencl_init] opencl_avoid_atomics: 0
[opencl_init] opencl_omit_whitebalance: 0
[opencl_init]
[opencl_init] trying to load opencl library: '<system default>'
[opencl_init] opencl library 'libOpenCL' found on your system and loaded
[opencl_init] found 1 platform
[opencl_init] found 1 device
[opencl_init] device 0 `GeForce GT 330' has sm_20 support.
[opencl_init] device 0 `GeForce GT 330' supports image sizes of 4096 x 16383
[opencl_init] device 0 `GeForce GT 330' allows GPU memory allocations of up to 255MB
[opencl_init] device 0: GeForce GT 330
GLOBAL_MEM_SIZE: 1023MB
MAX_WORK_GROUP_SIZE: 512
MAX_WORK_ITEM_DIMENSIONS: 3
MAX_WORK_ITEM_SIZES: [ 512 512 64 ]
DRIVER_VERSION: 304.88
DEVICE_VERSION: OpenCL 1.0 CUDA
[opencl_init] compiling program `demosaic_ppg.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/demosaic_ppg.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/demosaic_ppg.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
[opencl_init] compiling program `atrous.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/atrous.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/atrous.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
[opencl_init] compiling program `basic.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/basic.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/basic.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
[opencl_init] compiling program `blendop.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/blendop.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/blendop.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
[opencl_init] compiling program `highpass.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/highpass.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/highpass.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
[opencl_init] compiling program `nlmeans.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/nlmeans.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/nlmeans.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
[opencl_init] compiling program `gaussian.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/gaussian.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/gaussian.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
[opencl_init] compiling program `sharpen.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/sharpen.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/sharpen.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
[opencl_init] compiling program `extended.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/extended.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/extended.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
[opencl_init] compiling program `soften.cl' ..
[opencl_fopen_stat] could not open file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/soften.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/soften.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
[opencl_build_program] saving binary
[opencl_init] compiling program `bilateral.cl' ..
[opencl_fopen_stat] could not open file `/home/rwh/.cache/darktable/cached_kernels_for_GeForceGT330/bilateral.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/local/share/darktable/kernels/bilateral.cl'
[opencl_build_program] could not build program: -42
[opencl_build_program] BUILD STATUS: -2
BUILD LOG:
ptxas application ptx input, line 295; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 300; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 308; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 315; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 322; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 329; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 336; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 343; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 391; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 396; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 404; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 412; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 419; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 424; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 432; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas application ptx input, line 440; error : Instruction 'atom.add.f32' requires .target sm_20 or higher
ptxas fatal : Ptx assembly aborted due to errors
[opencl_init] failed to compile program `bilateral.cl'!
[opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel