Giter Club home page Giter Club logo

Comments (6)

nluehr avatar nluehr commented on July 17, 2024

Your build line is correct. As for cuda_fp16.h, it gets included from nccl.h (which is in turn included in core.h) whenever CUDART_VERSION >= 7050.

I'm a bit confused about the include guards you reference in reduce_kernel.h. These should select either Maxwell (CUDA_ARCH>= 500) or Kepler (CUDA_ARCH >= 300 && CUDA_ARCH < 500). There shouldn't be any reference to a CUDA_ARCH 530.

from nccl.

cliffwoolley avatar cliffwoolley commented on July 17, 2024

Do you have more than one CUDA Toolkit version installed? Any chance you
have an RC rather than production release version of CUDA 7.5?
On Jan 24, 2016 5:14 PM, "Nathan Luehr" [email protected] wrote:

Your build line is correct. As for cuda_fp16.h, it gets included from
nccl.h (which is in turn included in core.h) whenever CUDART_VERSION >=
7050.

I'm a bit confused about the include guards you reference in
reduce_kernel.h. These should select either Maxwell (CUDA_ARCH>= 500)
or Kepler (CUDA_ARCH >= 300 && CUDA_ARCH < 500). There shouldn't be
any reference to a CUDA_ARCH 530.


Reply to this email directly or view it on GitHub
#9 (comment).

from nccl.

apaszke avatar apaszke commented on July 17, 2024

That's wierd. I think I should have a production release. When I print contents of /usr/local/cuda/version.txt and /usr/local/cuda-7.5/version they both say CUDA Version 7.5.7.

This is what I've found in cuda_fp16.h:

#if __CUDA_ARCH__ >= 530 || !defined(__CUDA_ARCH__)                                 
__CUDA_FP16_DECL__ __half2 __heq2(const __half2 a, const __half2 b);                
__CUDA_FP16_DECL__ __half2 __hne2(const __half2 a, const __half2 b);                
__CUDA_FP16_DECL__ __half2 __hle2(const __half2 a, const __half2 b);                
__CUDA_FP16_DECL__ __half2 __hge2(const __half2 a, const __half2 b);                
__CUDA_FP16_DECL__ __half2 __hlt2(const __half2 a, const __half2 b);                
__CUDA_FP16_DECL__ __half2 __hgt2(const __half2 a, const __half2 b);                
__CUDA_FP16_DECL__ __half2 __hequ2(const __half2 a, const __half2 b);               
__CUDA_FP16_DECL__ __half2 __hneu2(const __half2 a, const __half2 b);               
__CUDA_FP16_DECL__ __half2 __hleu2(const __half2 a, const __half2 b);               
__CUDA_FP16_DECL__ __half2 __hgeu2(const __half2 a, const __half2 b);               
__CUDA_FP16_DECL__ __half2 __hltu2(const __half2 a, const __half2 b);               
__CUDA_FP16_DECL__ __half2 __hgtu2(const __half2 a, const __half2 b);               
__CUDA_FP16_DECL__ __half2 __hadd2(const __half2 a, const __half2 b);               
__CUDA_FP16_DECL__ __half2 __hsub2(const __half2 a, const __half2 b);               
__CUDA_FP16_DECL__ __half2 __hmul2(const __half2 a, const __half2 b);               
__CUDA_FP16_DECL__ __half2 __hadd2_sat(const __half2 a, const __half2 b);           
__CUDA_FP16_DECL__ __half2 __hsub2_sat(const __half2 a, const __half2 b);           
__CUDA_FP16_DECL__ __half2 __hmul2_sat(const __half2 a, const __half2 b);           
__CUDA_FP16_DECL__ __half2 __hfma2(const __half2 a, const __half2 b, const __half2 c); 
__CUDA_FP16_DECL__ __half2 __hfma2_sat(const __half2 a, const __half2 b, const __half2 c); 
__CUDA_FP16_DECL__ __half __hadd(const __half a, const __half b);                   
__CUDA_FP16_DECL__ __half __hsub(const __half a, const __half b);                   
__CUDA_FP16_DECL__ __half __hmul(const __half a, const __half b);                   
__CUDA_FP16_DECL__ __half __hadd_sat(const __half a, const __half b);               
__CUDA_FP16_DECL__ __half __hsub_sat(const __half a, const __half b);               
__CUDA_FP16_DECL__ __half __hmul_sat(const __half a, const __half b);               
__CUDA_FP16_DECL__ __half __hfma(const __half a, const __half b, const __half c); 
__CUDA_FP16_DECL__ __half __hfma_sat(const __half a, const __half b, const __half c); 
__CUDA_FP16_DECL__ float __low2float(const __half2 l);                              
__CUDA_FP16_DECL__ float __high2float(const __half2 l);                             
__CUDA_FP16_DECL__ float2 __half22float2(const __half2 l);  

You can see that one of the missing identifiers in on the last line of this snippet. It only appears in a it's forward declaration and it's definition is that file.

from nccl.

cliffwoolley avatar cliffwoolley commented on July 17, 2024

7.5.7 was the release candidate build, actually. The production release
build was numbered 7.5.18.

Please redownload and reinstall CUDA 7.5; it should work with the 7.5.18
build.

Thanks!
On Jan 25, 2016 6:51 AM, "Adam Paszke" [email protected] wrote:

That's wierd. I think I should have a production release. When I print
contents of /usr/local/cuda/version.txt and /usr/local/cuda-7.5/version
they both say CUDA Version 7.5.7.

This is what I've found in cuda_fp16.h:

#if CUDA_ARCH >= 530 || !defined(CUDA_ARCH)
CUDA_FP16_DECL half2 __heq2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hne2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hle2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hge2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hlt2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hgt2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hequ2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hneu2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hleu2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hgeu2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hltu2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hgtu2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hadd2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hsub2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hmul2(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hadd2_sat(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hsub2_sat(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hmul2_sat(const __half2 a, const __half2 b);
__CUDA_FP16_DECL
half2 __hfma2(const __half2 a, const __half2 b, const __half2 c);
__CUDA_FP16_DECL
half2 __hfma2_sat(const __half2 a, const __half2 b, const __half2 c);
__CUDA_FP16_DECL
half __hadd(const __half a, const __half b);
__CUDA_FP16_DECL
half __hsub(const __half a, const __half b);
__CUDA_FP16_DECL
half __hmul(const __half a, const __half b);
__CUDA_FP16_DECL
half __hadd_sat(const __half a, const __half b);
__CUDA_FP16_DECL
half __hsub_sat(const __half a, const __half b);
__CUDA_FP16_DECL
half __hmul_sat(const __half a, const __half b);
__CUDA_FP16_DECL
half __hfma(const __half a, const __half b, const __half c);
__CUDA_FP16_DECL
half __hfma_sat(const __half a, const __half b, const __half c);
__CUDA_FP16_DECL
float low2float(const __half2 l);
__CUDA_FP16_DECL
float high2float(const __half2 l);
__CUDA_FP16_DECL
float2 __half22float2(const __half2 l);

You can see that one of the missing identifiers in on the last line of
this snippet. It only appears in a it's forward declaration and it's
definition is that file.


Reply to this email directly or view it on GitHub
#9 (comment).

from nccl.

apaszke avatar apaszke commented on July 17, 2024

I'll try it. Thanks for help! 😊

from nccl.

apaszke avatar apaszke commented on July 17, 2024

Yes, that worked. Thanks a lot!

from nccl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.