Get invalid configuration argument instead of unspecified launch failure #6

Closed
run4flat opened this Issue Jul 5, 2011 · 2 comments

Comments

Projects
None yet
1 participant
@run4flat
Owner

run4flat commented Jul 5, 2011

This is a bug report from Russell Smithies that I received via email.


Hi David,
I've got your example code running on my GPU after a few attempts :-)
This server is running RHEL5 with Perl 5.8.8 so had to build newer Perl from src (5.14.1)
Built and installed run4flat-perl_nvcc-135063b and run4flat-perl-CUDA-Minimal-1c65f6e (no git or external access on this server)
I had a few errors on the test but it installed OK:

[root@hpgpuleft run4flat-perl-CUDA-Minimal-1c65f6e]# ./Build test
t/00_load.t ............... ok
t/Index-Manipulation.t .... ok
t/Memory.t ................ ok
t/Transfer.t .............. ok
t/z_PDL.t ................. ok
t/z_kernel_invocations.t .. 1/28 # Gold gave 524800 and CUDA gave 524800
# Gold gave 524800 and CUDA gave 524800
# Gold gave 0.398780822753906 and CUDA gave 0.398714065551758
# Gold gave 0.398780822753906 and CUDA gave 0.398714065551758
# Gold gave 0.398780822753906 and CUDA gave 0.398709535598755

#   Failed test 'PeekAtLastError correctly returns an unspecified launch failure'
#   at t/z_kernel_invocations.t line 71.
#                   'invalid configuration argument'
#     doesn't match '(?^:unspecified)'

#   Failed test 'The failing kernel gives an unspecified launch failure'
#   at t/z_kernel_invocations.t line 77.
#                   'invalid configuration argument'
#     doesn't match '(?^:unspecified)'

#   Failed test 'Good kernels invoked after a failed kernel launch also fail'
#   at t/z_kernel_invocations.t line 84.

#   Failed test 'Further kernel invocations return an unspecified launch failure'
#   at t/z_kernel_invocations.t line 88.
#                   'no error'
#     doesn't match '(?^:unspecified)'

#   Failed test 'Device resets invalidate previously allocated memory'
#   at t/z_kernel_invocations.t line 98.
# Looks like you failed 5 tests of 28.
t/z_kernel_invocations.t .. Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/28 subtests

Test Summary Report
-------------------
t/z_kernel_invocations.t (Wstat: 1280 Tests: 28 Failed: 5)
 Failed tests:  21, 23, 25-26, 28
 Non-zero exit status: 5
Files=6, Tests=81,  5 wallclock secs ( 0.03 usr  0.02 sys +  0.29 cusr  4.06 csys =  4.40 CPU)
Result: FAIL
Failed 1/6 test programs. 5/81 subtests failed.
@run4flat

This comment has been minimized.

Show comment Hide comment
@run4flat

run4flat Jul 7, 2011

Owner

I'll be unable to work on this until late July, so if anybody else out there wants to give it a shot, please do, and post a link to your fork so others can test it.

Owner

run4flat commented Jul 7, 2011

I'll be unable to work on this until late July, so if anybody else out there wants to give it a shot, please do, and post a link to your fork so others can test it.

@run4flat

This comment has been minimized.

Show comment Hide comment
@run4flat

run4flat Dec 17, 2013

Owner

I have solved this recently, at last for CUDA v5.5. Apparently, if you invoke a kernel that does nothing of any real use, it won't fail to launch. Go figure. Anyway, this was a test issue that has been addressed in the test suite, so I consider it solved.

Thanks!

Owner

run4flat commented Dec 17, 2013

I have solved this recently, at last for CUDA v5.5. Apparently, if you invoke a kernel that does nothing of any real use, it won't fail to launch. Go figure. Anyway, this was a test issue that has been addressed in the test suite, so I consider it solved.

Thanks!

@run4flat run4flat closed this Dec 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment