lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

failures on OSX #227

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
================================================================
FAILURE: TestExclusiveScanNullPtr
[debug.cu:75] values are not equal: 1 0 [type='bool']
================================================================
FAILURE: TestReduceNullPtr
[debug.cu:53] values are not equal: 1 0 [type='bool']
================================================================
FAILURE: TestScanByKeyWithLargeTypes
[scan_by_key.cu:404] values are not equal. 
[type='thrust::host_vector<FixedVector<int, 1u>, 
std::allocator<FixedVector<int, 1u> > >']
================================================================
FAILURE: TestScanWithLargeTypes
[scan.cu:320] values are not equal. [type='thrust::host_vector<FixedVector<int, 
1u>, std::allocator<FixedVector<int, 1u> > >']
================================================================
FAILURE: TestTransformNullPtr
[debug.cu:31] values are not equal: 1 0 [type='bool']
================================================================

yucky:testing jared$ nvcc --version; echo ; gcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2010 NVIDIA Corporation
Built on Thu_Jun_17_16:11:55_PDT_2010
Cuda compilation tools, release 3.1, V0.2.1221

i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Original issue reported on code.google.com by jaredhoberock on 27 Sep 2010 at 5:09

GoogleCodeExporter commented 8 years ago
Here is a minimal reproducer:

#include <assert.h>

__global__ void segfault(int *dst, int *src)
{
  *dst = *src;
}

int main(void)
{
  segfault<<<1,1>>>((int*)0, (int*)0);
  cudaError_t error = cudaThreadSynchronize();

  assert(error != cudaSuccess);

  return 0;
}

Original comment by jaredhoberock on 27 Sep 2010 at 6:13

GoogleCodeExporter commented 8 years ago
Submitted as nvbug 738997

Original comment by jaredhoberock on 27 Sep 2010 at 6:26