diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .idea/misc.xml | 2 | ||||
-rw-r--r-- | .idea/workspace.xml | 671 | ||||
-rw-r--r-- | src/com/mbien/opencl/CLMemory.java | 4 |
4 files changed, 4 insertions, 674 deletions
@@ -2,5 +2,6 @@ build dist gensrc resources/includes/CL +.idea/workspace.xml **~ nbproject/private diff --git a/.idea/misc.xml b/.idea/misc.xml index e591983a..30fa94c3 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -26,7 +26,7 @@ <component name="ProjectDetails"> <option name="projectName" value="jocl" /> </component> - <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK"> + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK"> <output url="file://$PROJECT_DIR$/out" /> </component> <component name="SvnBranchConfigurationManager"> diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 4205903e..00000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,671 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="AnalysisUIOptions"> - <option name="CUSTOM_SCOPE_NAME" value="Project Files" /> - </component> - <component name="ChangeListManager" verified="true"> - <list default="true" readonly="true" id="bdc4fbef-01de-4b7c-b110-ad7324bf49dd" name="Default" comment=""> - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/mbien/opencl/CLProgram.java" afterPath="$PROJECT_DIR$/src/com/mbien/opencl/CLProgram.java" /> - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/test/com/mbien/opencl/LowLevelBindingTest.java" afterPath="$PROJECT_DIR$/test/com/mbien/opencl/LowLevelBindingTest.java" /> - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/test/com/mbien/opencl/CLProgramTest.java" afterPath="$PROJECT_DIR$/test/com/mbien/opencl/CLProgramTest.java" /> - </list> - <ignored path="jocl.iws" /> - <ignored path=".idea/workspace.xml" /> - <option name="TRACKING_ENABLED" value="true" /> - <option name="SHOW_DIALOG" value="false" /> - <option name="HIGHLIGHT_CONFLICTS" value="true" /> - <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> - <option name="LAST_RESOLUTION" value="IGNORE" /> - </component> - <component name="ChangesViewManager" flattened_view="true" show_ignored="false" /> - <component name="Commander"> - <leftPanel url="file://$PROJECT_DIR$" /> - <rightPanel url="file://$PROJECT_DIR$/.idea" /> - <splitter proportion="0.5" /> - </component> - <component name="CreatePatchCommitExecutor"> - <option name="PATCH_PATH" value="" /> - <option name="REVERSE_PATCH" value="false" /> - </component> - <component name="DaemonCodeAnalyzer"> - <disable_hints> - <file url="file://$PROJECT_DIR$/test/com/mbien/opencl/CLProgramTest.java" /> - </disable_hints> - </component> - <component name="DebuggerManager"> - <breakpoint_any> - <breakpoint> - <option name="NOTIFY_CAUGHT" value="true" /> - <option name="NOTIFY_UNCAUGHT" value="true" /> - <option name="ENABLED" value="false" /> - <option name="LOG_ENABLED" value="false" /> - <option name="LOG_EXPRESSION_ENABLED" value="false" /> - <option name="SUSPEND_POLICY" value="SuspendAll" /> - <option name="COUNT_FILTER_ENABLED" value="false" /> - <option name="COUNT_FILTER" value="0" /> - <option name="CONDITION_ENABLED" value="false" /> - <option name="CLASS_FILTERS_ENABLED" value="false" /> - <option name="INSTANCE_FILTERS_ENABLED" value="false" /> - <option name="CONDITION" value="" /> - <option name="LOG_MESSAGE" value="" /> - </breakpoint> - <breakpoint> - <option name="NOTIFY_CAUGHT" value="true" /> - <option name="NOTIFY_UNCAUGHT" value="true" /> - <option name="ENABLED" value="false" /> - <option name="LOG_ENABLED" value="false" /> - <option name="LOG_EXPRESSION_ENABLED" value="false" /> - <option name="SUSPEND_POLICY" value="SuspendAll" /> - <option name="COUNT_FILTER_ENABLED" value="false" /> - <option name="COUNT_FILTER" value="0" /> - <option name="CONDITION_ENABLED" value="false" /> - <option name="CLASS_FILTERS_ENABLED" value="false" /> - <option name="INSTANCE_FILTERS_ENABLED" value="false" /> - <option name="CONDITION" value="" /> - <option name="LOG_MESSAGE" value="" /> - </breakpoint> - </breakpoint_any> - <breakpoint_rules /> - <ui_properties /> - </component> - <component name="FavoritesManager"> - <favorites_list name="jocl" /> - </component> - <component name="FileColors" enabled="true" enabledForTabs="true" /> - <component name="FileEditorManager"> - <leaf> - <file leaf-file-name="CLContext.java" pinned="false" current="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLContext.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="205" column="19" selection-start="7171" selection-end="7171" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - </file> - <file leaf-file-name="CLGLContext.java" pinned="false" current="true" current-in-tab="true"> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLGLContext.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="35" column="83" selection-start="1141" selection-end="1141" vertical-scroll-proportion="0.34554973"> - <folding /> - </state> - </provider> - </entry> - </file> - <file leaf-file-name="CLProgram.java" pinned="false" current="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLProgram.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="618" column="33" selection-start="20632" selection-end="20632" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - </file> - <file leaf-file-name="CLSampler.java" pinned="false" current="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLSampler.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="22" column="115" selection-start="751" selection-end="751" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - </file> - <file leaf-file-name="CLImpl.java" pinned="false" current="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/gensrc/java/com/mbien/opencl/impl/CLImpl.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="300" column="8" selection-start="27342" selection-end="27342" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - </file> - <file leaf-file-name="CLBufferTest.java" pinned="false" current="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/test/com/mbien/opencl/CLBufferTest.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="27" column="58" selection-start="644" selection-end="644" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - </file> - <file leaf-file-name="CLCommandQueue.java" pinned="false" current="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLCommandQueue.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="808" column="27" selection-start="34793" selection-end="34793" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - </file> - <file leaf-file-name="CLDevice.java" pinned="false" current="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLDevice.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="142" column="76" selection-start="4226" selection-end="4226" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - </file> - <file leaf-file-name="CLKernel.java" pinned="false" current="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLKernel.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="163" column="100" selection-start="5092" selection-end="5092" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - </file> - <file leaf-file-name="CLMemory.java" pinned="false" current="false" current-in-tab="false"> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLMemory.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="102" column="53" selection-start="3173" selection-end="3173" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - </file> - </leaf> - </component> - <component name="FindManager"> - <FindUsagesManager> - <setting name="OPEN_NEW_TAB" value="false" /> - </FindUsagesManager> - </component> - <component name="IdeDocumentHistory"> - <option name="changedFiles"> - <list> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/CLException.java" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/QueueBarrier.java" /> - <option value="$PROJECT_DIR$/test/com/mbien/opencl/CLProgramTest.java" /> - <option value="$PROJECT_DIR$/resources/clImplCustomCode.java" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/CLBuffer.java" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/CLPlatform.java" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/InternalBufferUtil.java" /> - <option value="$PROJECT_DIR$/resources/native-taglet.properties" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/CLContext.java" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/CLGLContext.java" /> - <option value="$PROJECT_DIR$/test/com/mbien/opencl/CLBufferTest.java" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/CLCommandQueue.java" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/CLDevice.java" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/CLKernel.java" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/CLMemory.java" /> - <option value="$PROJECT_DIR$/src/com/mbien/opencl/CLProgram.java" /> - </list> - </option> - </component> - <component name="MavenRunner"> - <option name="jreName" value="#JAVA_INTERNAL" /> - </component> - <component name="ModuleEditorState"> - <option name="LAST_EDITED_MODULE_NAME" /> - <option name="LAST_EDITED_TAB_NAME" /> - </component> - <component name="ProjectInspectionProfilesVisibleTreeState"> - <entry key="Project Default"> - <profile-state> - <expanded-state> - <State> - <id>Class structure</id> - </State> - <State> - <id>Java language level issues</id> - </State> - </expanded-state> - <selected-state> - <State> - <id>FinalPrivateMethod</id> - </State> - </selected-state> - </profile-state> - </entry> - </component> - <component name="ProjectLevelVcsManager"> - <OptionsSetting value="true" id="Add" /> - <OptionsSetting value="true" id="Remove" /> - <OptionsSetting value="true" id="Checkout" /> - <OptionsSetting value="true" id="Update" /> - <OptionsSetting value="true" id="Status" /> - <OptionsSetting value="true" id="Edit" /> - <ConfirmationsSetting value="0" id="Add" /> - <ConfirmationsSetting value="0" id="Remove" /> - </component> - <component name="ProjectReloadState"> - <option name="STATE" value="0" /> - </component> - <component name="ProjectView"> - <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5"> - <flattenPackages /> - <showMembers /> - <showModules /> - <showLibraryContents /> - <hideEmptyPackages /> - <abbreviatePackageNames /> - <autoscrollToSource /> - <autoscrollFromSource /> - <sortByType /> - </navigator> - <panes> - <pane id="Scope" /> - <pane id="ProjectPane"> - <subPane> - <PATH> - <PATH_ELEMENT> - <option name="myItemId" value="jocl" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> - </PATH_ELEMENT> - </PATH> - <PATH> - <PATH_ELEMENT> - <option name="myItemId" value="jocl" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> - </PATH_ELEMENT> - <PATH_ELEMENT> - <option name="myItemId" value="jocl" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> - </PATH_ELEMENT> - </PATH> - <PATH> - <PATH_ELEMENT> - <option name="myItemId" value="jocl" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> - </PATH_ELEMENT> - <PATH_ELEMENT> - <option name="myItemId" value="jocl" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> - </PATH_ELEMENT> - <PATH_ELEMENT> - <option name="myItemId" value="test" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> - </PATH_ELEMENT> - <PATH_ELEMENT> - <option name="myItemId" value="opencl" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> - </PATH_ELEMENT> - </PATH> - <PATH> - <PATH_ELEMENT> - <option name="myItemId" value="jocl" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> - </PATH_ELEMENT> - <PATH_ELEMENT> - <option name="myItemId" value="jocl" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> - </PATH_ELEMENT> - <PATH_ELEMENT> - <option name="myItemId" value="src" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> - </PATH_ELEMENT> - </PATH> - <PATH> - <PATH_ELEMENT> - <option name="myItemId" value="jocl" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> - </PATH_ELEMENT> - <PATH_ELEMENT> - <option name="myItemId" value="jocl" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> - </PATH_ELEMENT> - <PATH_ELEMENT> - <option name="myItemId" value="resources" /> - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> - </PATH_ELEMENT> - </PATH> - </subPane> - </pane> - <pane id="PackagesPane" /> - <pane id="Favorites" /> - </panes> - </component> - <component name="PropertiesComponent"> - <property name="GoToFile.includeJavaFiles" value="false" /> - <property name="project.structure.last.edited" value="Modules" /> - <property name="project.structure.proportion" value="0.15" /> - <property name="options.splitter.main.proportions" value="0.3" /> - <property name="recentsLimit" value="5" /> - <property name="options.lastSelected" value="preferences.pluginManager" /> - <property name="MemberChooser.sorted" value="false" /> - <property name="project.structure.side.proportion" value="0.2" /> - <property name="MemberChooser.copyJavadoc" value="false" /> - <property name="GoToClass.toSaveIncludeLibraries" value="false" /> - <property name="MemberChooser.showClasses" value="true" /> - <property name="GoToClass.includeLibraries" value="false" /> - <property name="options.searchVisible" value="true" /> - <property name="options.splitter.details.proportions" value="0.2" /> - </component> - <component name="RunManager"> - <configuration default="true" type="Remote" factoryName="Remote"> - <option name="USE_SOCKET_TRANSPORT" value="true" /> - <option name="SERVER_MODE" value="false" /> - <option name="SHMEM_ADDRESS" value="javadebug" /> - <option name="HOST" value="localhost" /> - <option name="PORT" value="5005" /> - <method> - <option name="AntTarget" enabled="false" /> - <option name="BuildArtifacts" enabled="false" /> - <option name="Maven.BeforeRunTask" enabled="false" /> - </method> - </configuration> - <configuration default="true" type="Applet" factoryName="Applet"> - <module name="" /> - <option name="MAIN_CLASS_NAME" /> - <option name="HTML_FILE_NAME" /> - <option name="HTML_USED" value="false" /> - <option name="WIDTH" value="400" /> - <option name="HEIGHT" value="300" /> - <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" /> - <option name="VM_PARAMETERS" /> - <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> - <option name="ALTERNATIVE_JRE_PATH" /> - <method> - <option name="AntTarget" enabled="false" /> - <option name="BuildArtifacts" enabled="false" /> - <option name="Make" enabled="true" /> - <option name="Maven.BeforeRunTask" enabled="false" /> - </method> - </configuration> - <configuration default="true" type="Application" factoryName="Application"> - <extension name="snapshooter" /> - <option name="MAIN_CLASS_NAME" /> - <option name="VM_PARAMETERS" /> - <option name="PROGRAM_PARAMETERS" /> - <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> - <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> - <option name="ALTERNATIVE_JRE_PATH" /> - <option name="ENABLE_SWING_INSPECTOR" value="false" /> - <option name="ENV_VARIABLES" /> - <option name="PASS_PARENT_ENVS" value="true" /> - <module name="" /> - <envs /> - <method> - <option name="AntTarget" enabled="false" /> - <option name="BuildArtifacts" enabled="false" /> - <option name="Make" enabled="true" /> - <option name="Maven.BeforeRunTask" enabled="false" /> - </method> - </configuration> - <configuration default="true" type="JUnit" factoryName="JUnit"> - <extension name="snapshooter" /> - <module name="" /> - <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> - <option name="ALTERNATIVE_JRE_PATH" /> - <option name="PACKAGE_NAME" /> - <option name="MAIN_CLASS_NAME" /> - <option name="METHOD_NAME" /> - <option name="TEST_OBJECT" value="class" /> - <option name="VM_PARAMETERS" /> - <option name="PARAMETERS" /> - <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> - <option name="ENV_VARIABLES" /> - <option name="PASS_PARENT_ENVS" value="true" /> - <option name="TEST_SEARCH_SCOPE"> - <value defaultName="moduleWithDependencies" /> - </option> - <envs /> - <method> - <option name="AntTarget" enabled="false" /> - <option name="BuildArtifacts" enabled="false" /> - <option name="Make" enabled="true" /> - <option name="Maven.BeforeRunTask" enabled="false" /> - </method> - </configuration> - <list size="0" /> - <configuration name="<template>" type="WebApp" default="true" selected="false"> - <Host>localhost</Host> - <Port>5050</Port> - </configuration> - </component> - <component name="ShelveChangesManager" show_recycled="false" /> - <component name="SvnConfiguration"> - <option name="USER" value="" /> - <option name="PASSWORD" value="" /> - <option name="LAST_MERGED_REVISION" /> - <option name="UPDATE_RUN_STATUS" value="false" /> - <option name="MERGE_DRY_RUN" value="false" /> - <option name="MERGE_DIFF_USE_ANCESTRY" value="true" /> - <option name="UPDATE_LOCK_ON_DEMAND" value="false" /> - <option name="IGNORE_SPACES_IN_MERGE" value="false" /> - <option name="DETECT_NESTED_COPIES" value="false" /> - <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" /> - <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" /> - <configuration useDefault="true">$PROJECT_DIR$/../../../.subversion</configuration> - <myIsUseDefaultProxy>false</myIsUseDefaultProxy> - <supportedVersion>125</supportedVersion> - </component> - <component name="TodoView" selected-index="0"> - <todo-panel id="selected-file"> - <are-packages-shown value="false" /> - <are-modules-shown value="false" /> - <flatten-packages value="false" /> - <is-autoscroll-to-source value="true" /> - </todo-panel> - <todo-panel id="all"> - <are-packages-shown value="true" /> - <are-modules-shown value="false" /> - <flatten-packages value="false" /> - <is-autoscroll-to-source value="true" /> - </todo-panel> - <todo-panel id="default-changelist"> - <are-packages-shown value="false" /> - <are-modules-shown value="false" /> - <flatten-packages value="false" /> - <is-autoscroll-to-source value="false" /> - </todo-panel> - </component> - <component name="ToolWindowManager"> - <frame x="-1" y="25" width="1600" height="1150" extended-state="0" /> - <editor active="false" /> - <layout> - <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32935324" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> - <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> - <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> - <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> - <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> - <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> - <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32935324" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> - <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.19793682" sideWeight="0.3442786" order="1" side_tool="true" content_ui="tabs" /> - <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> - <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3997421" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> - <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.19754681" sideWeight="0.593" order="0" side_tool="false" content_ui="tabs" /> - <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> - <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> - <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> - <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> - <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> - <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> - </layout> - </component> - <component name="VcsManagerConfiguration"> - <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" /> - <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" /> - <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" /> - <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" /> - <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" /> - <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" /> - <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" /> - <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" /> - <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="true" /> - <option name="FORCE_NON_EMPTY_COMMENT" value="false" /> - <option name="LAST_COMMIT_MESSAGE" /> - <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" /> - <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" /> - <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" /> - <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" /> - <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" /> - <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" /> - <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" /> - <option name="ACTIVE_VCS_NAME" /> - <option name="UPDATE_GROUP_BY_PACKAGES" value="false" /> - <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" /> - <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" /> - <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" /> - </component> - <component name="XDebuggerManager"> - <breakpoint-manager /> - </component> - <component name="antWorkspaceConfiguration"> - <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" /> - <option name="FILTER_TARGETS" value="false" /> - </component> - <component name="editorHistoryManager"> - <entry file="file://$PROJECT_DIR$/resources/clImplCustomCode.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="1" column="75" selection-start="76" selection-end="76" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLBuffer.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="12" column="13" selection-start="210" selection-end="210" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLPlatform.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="37" column="12" selection-start="809" selection-end="809" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/gensrc/java/com/mbien/opencl/impl/CLImageFormatImpl.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="20" column="17" selection-start="474" selection-end="474" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/InternalBufferUtil.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="13" column="18" selection-start="239" selection-end="239" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/resources/native-taglet.properties"> - <provider selected="true" editor-type-id="text-editor"> - <state line="18" column="51" selection-start="881" selection-end="881" vertical-scroll-proportion="-10.8"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/gensrc/java/com/mbien/opencl/impl/CLImpl.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="300" column="8" selection-start="27342" selection-end="27342" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLContext.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="205" column="19" selection-start="7171" selection-end="7171" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/test/com/mbien/opencl/CLBufferTest.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="27" column="58" selection-start="644" selection-end="644" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLCommandQueue.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="808" column="27" selection-start="34793" selection-end="34793" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLDevice.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="142" column="76" selection-start="4226" selection-end="4226" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLKernel.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="163" column="100" selection-start="5092" selection-end="5092" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLMemory.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="102" column="53" selection-start="3173" selection-end="3173" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLProgram.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="618" column="33" selection-start="20632" selection-end="20632" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLSampler.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="22" column="115" selection-start="751" selection-end="751" vertical-scroll-proportion="0.0"> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/com/mbien/opencl/CLGLContext.java"> - <provider selected="true" editor-type-id="text-editor"> - <state line="35" column="83" selection-start="1141" selection-end="1141" vertical-scroll-proportion="0.34554973"> - <folding /> - </state> - </provider> - </entry> - </component> - <component name="masterDetails"> - <states> - <state key="ArtifactsStructureConfigurable.UI"> - <UIState> - <splitter-proportions> - <SplitterProportionsDataImpl> - <option name="proportions"> - <list> - <option value="0.2" /> - </list> - </option> - </SplitterProportionsDataImpl> - </splitter-proportions> - <last-edited>unnamed</last-edited> - <settings /> - </UIState> - </state> - <state key="Copyright.UI"> - <UIState> - <splitter-proportions> - <SplitterProportionsDataImpl /> - </splitter-proportions> - </UIState> - </state> - <state key="ProjectJDKs.UI"> - <UIState> - <splitter-proportions> - <SplitterProportionsDataImpl> - <option name="proportions"> - <list> - <option value="0.2" /> - </list> - </option> - </SplitterProportionsDataImpl> - </splitter-proportions> - </UIState> - </state> - <state key="ScopeChooserConfigurable.UI"> - <UIState> - <splitter-proportions> - <SplitterProportionsDataImpl /> - </splitter-proportions> - <settings /> - </UIState> - </state> - </states> - </component> -</project> - diff --git a/src/com/mbien/opencl/CLMemory.java b/src/com/mbien/opencl/CLMemory.java index 0be1b530..6498bcc7 100644 --- a/src/com/mbien/opencl/CLMemory.java +++ b/src/com/mbien/opencl/CLMemory.java @@ -105,7 +105,7 @@ public abstract class CLMemory <B extends Buffer> extends CLObject implements CL /** * Returns the OpenGL buffer type of this shared buffer. */ - /*public*/ GLObjectType getGLObjectType() { + /*public*/ final GLObjectType _getGLObjectType() { int[] array = new int[1]; int ret = ((CLGLI)cl).clGetGLObjectInfo(ID, array, 0, null, 0); CLException.checkForError(ret, "error while asking for gl object info"); @@ -115,7 +115,7 @@ public abstract class CLMemory <B extends Buffer> extends CLObject implements CL /** * Returns the OpenGL object id of this shared buffer. */ - /*public*/ int getGLObjectID() { + /*public*/ final int _getGLObjectID() { int[] array = new int[1]; int ret = ((CLGLI)cl).clGetGLObjectInfo(ID, null, 0, array, 0); CLException.checkForError(ret, "error while asking for gl object info"); |