Skip to content

Commit

Permalink
add file def for gr-gate.h
Browse files Browse the repository at this point in the history
  • Loading branch information
npq7721 committed Sep 3, 2019
1 parent e34ebc3 commit a4dbf8a
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 0 deletions.
78 changes: 78 additions & 0 deletions .cproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">

<storageModule moduleId="org.eclipse.cdt.core.settings">

<cconfiguration id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.1011018746">

<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.1011018746" moduleId="org.eclipse.cdt.core.settings" name="Build (GNU)">

<externalSettings/>

<extensions>

<extension id="org.eclipse.cdt.core.MachO64" point="org.eclipse.cdt.core.BinaryParser"/>

<extension id="org.eclipse.cdt.core.Cygwin_PE" point="org.eclipse.cdt.core.BinaryParser"/>

<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>

<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>

<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>

<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>

</extensions>

</storageModule>

<storageModule moduleId="cdtBuildSystem" version="4.0.0">

<configuration buildProperties="" id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.1011018746" name="Build (GNU)" parent="org.eclipse.cdt.build.core.emptycfg">

<folderInfo id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.1011018746.839864319" name="/" resourcePath="">

<toolChain id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.798848074" name="GNU Autotools Toolchain" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolChain">

<targetPlatform id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.targetPlatform.947624855" isAbstract="false" name="GNU Autotools Target Platform" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.targetPlatform"/>

<builder id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.builder.1923944583" managedBuildOn="false" name="Autotools Makefile Generator.Build (GNU)" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.builder"/>

<tool id="org.eclipse.linuxtools.cdt.autotools.core.gnu.toolchain.tool.configure.2109437598" name="configure" superClass="org.eclipse.linuxtools.cdt.autotools.core.gnu.toolchain.tool.configure"/>

<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.autogen.1561996455" name="autogen.sh" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.autogen"/>

<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gcc.415151864" name="GCC C Compiler" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gcc"/>

<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gpp.283147952" name="GCC C++ Compiler" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gpp"/>

</toolChain>

</folderInfo>

</configuration>

</storageModule>

<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>

</cconfiguration>

</storageModule>

<storageModule moduleId="cdtBuildSystem" version="4.0.0">

<project id="cpuminer-opt-gr.null.1399342796" name="cpuminer-opt-gr"/>

</storageModule>

<storageModule moduleId="scannerConfiguration">

<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>

</storageModule>

<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>

</cproject>
27 changes: 27 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>cpuminer-opt-gr</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>
28 changes: 28 additions & 0 deletions .settings/language.settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>

<configuration id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.1011018746" name="Build (GNU)">

<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">

<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>

<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>

<provider copy-of="extension" id="org.eclipse.cdt.autotools.core.LibtoolGCCBuildCommandParser"/>

<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-888921883726" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">

<language-scope id="org.eclipse.cdt.core.gcc"/>

<language-scope id="org.eclipse.cdt.core.g++"/>

</provider>

<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>

</extension>

</configuration>

</project>
5 changes: 5 additions & 0 deletions algo/gr/gr-gate.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#ifndef GR_GATE_H__
#define GE_GATE_H__

#include "algo-gate-api.h"
#include <stdint.h>

void gr_hash( void *state, const void *input );
int scanhash_gr(struct work *work, uint32_t max_nonce, uint64_t *hashes_done, struct thr_info *mythr);

#endif

0 comments on commit a4dbf8a

Please sign in to comment.