Giter Club home page Giter Club logo

cudafy's People

Contributors

constructor-igor avatar

Stargazers

 avatar

Watchers

 avatar

cudafy's Issues

Test projects cannot be compiled

image

  <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->

Tests fail with message "Cannot find compiler 'cl.exe' in PATH"

        \r\n
        Error: Cudafy.CudafyCompileException: Compilation error: \r\n
        CreateCudafyModule(\"D:\\@Igor\\SW\\cudafy\\Cudafy\\Cudafy.cudafycl.UnitTests\\bin\\Debug\\Cudafy.cudafycl.UnitTests.exe\", sm_20);\r\n
        Error: Cudafy.CudafyCompileException: Compilation error: \r\n
        nvcc fatal   : Cannot find compiler 'cl.exe' in PATH\r\n
        \r\n\r\n
        Please add the Visual Studio VC bin directory to PATH in Environment Variables..\r\n
        at Cudafy.CudafyModule.Compile(CompileProperties[] props) in d:\\@Igor\\SW\\cudafy\\Cudafy\\Cudafy\\KernelModule.cs:line 1385\r\n
        at Cudafy.Translator.CudafyTranslator.Cudafy(IEnumerable`1 props, Type[] types) in d:\\@Igor\\SW\\cudafy\\Cudafy\\Cudafy.Translator\\CudafyTranslator.cs:line 370\r\n
        at Cudafy.Translator.CudafyTranslator.Cudafy(CompileProperties prop, Type[] types) in d:\\@Igor\\SW\\cudafy\\Cudafy\\Cudafy.Translator\\CudafyTranslator.cs:line 341\r\n
        at Cudafy.Translator.CudafyTranslator.Cudafy(ePlatform platform, eArchitecture arch, Version cudaVersion, Boolean compile, Type[] types) in d:\\@Igor\\SW\\cudafy\\Cudafy\\Cudafy.Translator\\CudafyTranslator.cs:line 334\r\n
        at Cudafy.Translator.CudafyTranslator.Cudafy(ePlatform platform, eArchitecture arch, Type[] types) in d:\\@Igor\\SW\\cudafy\\Cudafy\\Cudafy.Translator\\CudafyTranslator.cs:line 256\r\n
        at cudafycl.Program.CreateCudafyModule(String dllName, eArchitecture arch) in d:\\@Igor\\SW\\cudafy\\Cudafy\\cudafycl\\Program.cs:line 110\r\n
        at cudafycl.Program.Main(String[] args) in d:\\@Igor\\SW\\cudafy\\Cudafy\\cudafycl\\Program.cs:line 95\r\n.\r\n
        at cudafycl.Program.Main(String[] args) in d:\\@Igor\\SW\\cudafy\\Cudafy\\cudafycl\\Program.cs:line 73\r\n" string

Failed tests in class MultiGPUTests

All tests from test class MultiGPUTests fail because, tested computer has 1 device only.
Test class MultiGPUTests requires, at least, 2 devices:

        [TestFixtureSetUp]
        public void SetUp()
        {
            _gpu0 = CudafyHost.CreateDevice(CudafyModes.Target, 0);
            _gpu1 = CudafyHost.CreateDevice(CudafyModes.Target, 1);
            _uintBufferIn0 = new uint[N];
            _uintBufferOut0 = new uint[N];
            _uintBufferIn1 = new uint[N];
            _uintBufferOut1 = new uint[N];
        }

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.